nifun

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

commit 7712112c7028d69ff7a027d3fb57d00af314dc64
parent df7b3c351968c3807834e381fd8805f5b582a794
Author: minerva-jupiter <ryouturn@gmail.com>
Date:   Fri,  6 Feb 2026 12:20:11 +0900

docs: Add prompt to inform user how to quit

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

diff --git a/src/main.rs b/src/main.rs @@ -7,6 +7,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> { let interval: Span = Span::new().minutes(2); let start_time = Timestamp::now(); let mut next_notif_time = start_time.checked_add(interval).unwrap(); + println!("press 'q' to quit"); loop { let now = Timestamp::now(); if now >= next_notif_time {