From 76862ae6496eaad52d697fa9bd236a03cfe7321f Mon Sep 17 00:00:00 2001 From: RanXom Date: Sat, 13 Jun 2026 00:22:51 +0530 Subject: export on status on startup and session change --- 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 ece7e8e..22deb4a 100644 --- a/src/pomo/mod.rs +++ b/src/pomo/mod.rs @@ -98,6 +98,8 @@ impl Pomo { let mut second_tick = tokio::time::interval(Duration::from_secs(1)); + let _ = self.export_status(); + while !self.should_quit { terminal.draw(|f| ui::render(f, self))?; @@ -114,6 +116,7 @@ impl Pomo { && key.kind == event::KeyEventKind::Press { self.handle_key(key); + let _ = self.export_status(); } } } -- cgit v1.2.3