diff options
| author | Saiyed Shizain <saiyedshizain@gmail.com> | 2026-01-18 20:21:28 +0530 |
|---|---|---|
| committer | Saiyed Shizain <saiyedshizain@gmail.com> | 2026-01-18 20:21:28 +0530 |
| commit | 8f4d471f3b3a6d25b0ba3d3c2b9abbdce7d20312 (patch) | |
| tree | 57142b2ed3065d5e73c5e71d01d165514cb4b5bf /src/main.rs | |
| parent | cde182d44fe4dcaa3d206ceb5cf093f74de6c85e (diff) | |
| download | pomoru-8f4d471f3b3a6d25b0ba3d3c2b9abbdce7d20312.tar.xz pomoru-8f4d471f3b3a6d25b0ba3d3c2b9abbdce7d20312.zip | |
add timer toggle and panic safe tick
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 324d34e..349d2d2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,7 +1,8 @@ mod pomo; use pomo::Pomo; -fn main() { +fn main() -> Result<(), Box<dyn std::error::Error>> { let mut app = Pomo::new(); - app.run(); + app.run()?; + Ok(()) } |