diff options
| author | RanXom <saiyedshizain@gmail.com> | 2026-06-12 23:15:51 +0530 |
|---|---|---|
| committer | RanXom <saiyedshizain@gmail.com> | 2026-06-12 23:15:51 +0530 |
| commit | bb9688d43051c19cc2dc697389547470d8c18f62 (patch) | |
| tree | dcd10f61a0be093e5d4c1753618b37b93170c35e /src/pomo/mod.rs | |
| parent | c2cd16b5993526d95d91326683f0f8338f63a9eb (diff) | |
| download | pomoru-bb9688d43051c19cc2dc697389547470d8c18f62.tar.xz pomoru-bb9688d43051c19cc2dc697389547470d8c18f62.zip | |
Handle session switch manage on timer expiration
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 42ce627..cd7a663 100644 --- a/src/pomo/mod.rs +++ b/src/pomo/mod.rs @@ -110,6 +110,9 @@ impl Pomo { } } + (AppScreen::Timer, KeyCode::Char('a')) => { + self.auto_switch_sessions = !self.auto_switch_sessions + } (AppScreen::Timer, KeyCode::Char('t')) => self.screen = AppScreen::Tasks, (AppScreen::Timer, KeyCode::Char(' ')) => self.is_running = !self.is_running, (AppScreen::Timer, KeyCode::Char('r')) => self.time_remaining = self.work_time, |