diff options
| author | Saiyed Shizain <saiyedshizain@gmail.com> | 2026-01-18 21:47:20 +0530 |
|---|---|---|
| committer | Saiyed Shizain <saiyedshizain@gmail.com> | 2026-01-18 21:47:20 +0530 |
| commit | 614805fc637a4cfeac4f8c62b8b04717a7daae96 (patch) | |
| tree | 575dd5ff9a95c879cbdffd31d096e7840b06d421 /src/pomo/mod.rs | |
| parent | 4e22d4150020fa1068dcd3867d026215d5156271 (diff) | |
| download | pomoru-614805fc637a4cfeac4f8c62b8b04717a7daae96.tar.xz pomoru-614805fc637a4cfeac4f8c62b8b04717a7daae96.zip | |
fix unused session warnings and add task navigation and toggle
Diffstat (limited to 'src/pomo/mod.rs')
| -rw-r--r-- | src/pomo/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pomo/mod.rs b/src/pomo/mod.rs index 284f28a..a47d138 100644 --- a/src/pomo/mod.rs +++ b/src/pomo/mod.rs @@ -34,6 +34,9 @@ impl Pomo { match key.code { KeyCode::Char('q') => self.should_quit = true, KeyCode::Char(' ') => self.toggle_timer(), + KeyCode::Char('j') | KeyCode::Down => self.next_task(), + KeyCode::Char('k') | KeyCode::Up => self.previous_task(), + KeyCode::Enter => self.toggle_task(), _ => {} } } |