nifun

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit f838aaba8c683b7755cbfac4b7ad11aa33a6b815
parent 7712112c7028d69ff7a027d3fb57d00af314dc64
Author: minerva-jupiter <ryouturn@gmail.com>
Date:   Fri,  6 Feb 2026 19:48:23 +0900

feat(display): Show time remaining until next notification

Diffstat:
Msrc/main.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs @@ -21,7 +21,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> { println!("\n'q' detected. Exiting."); break; } - print!("\r\x1b[2K{}", now - start_time); + print!("\r\x1b[2K{}", next_notif_time - now); stdout().flush().unwrap(); thread::sleep(std::time::Duration::from_millis(100)); }