diff options
Diffstat (limited to 'src/bin/ttyplay/input.rs')
-rw-r--r-- | src/bin/ttyplay/input.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/bin/ttyplay/input.rs b/src/bin/ttyplay/input.rs index d8c8e92..8c45b69 100644 --- a/src/bin/ttyplay/input.rs +++ b/src/bin/ttyplay/input.rs @@ -30,6 +30,16 @@ pub fn spawn_task( crate::event::TimerAction::Pause, ), textmode::Key::Ctrl(b'i') => crate::event::Event::ToggleUi, + textmode::Key::Char('=' | '+') => { + crate::event::Event::TimerAction( + crate::event::TimerAction::SpeedUp, + ) + } + textmode::Key::Char('_' | '-') => { + crate::event::Event::TimerAction( + crate::event::TimerAction::SlowDown, + ) + } _ => continue, }; event_w.send(event).await.unwrap(); |