From bb9688d43051c19cc2dc697389547470d8c18f62 Mon Sep 17 00:00:00 2001 From: RanXom Date: Fri, 12 Jun 2026 23:15:51 +0530 Subject: Handle session switch manage on timer expiration --- src/pomo/mod.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/pomo/mod.rs') 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, -- cgit v1.2.3