add mode show and fix some things #20

Merged
cscherrNT merged 21 commits from devel into master 2024-07-26 10:43:20 +02:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit 4ec8be1e1b - Show all commits

View File

@ -151,6 +151,8 @@ pub fn timebarw_label<'a>(
), ),
}; };
let until = last_reset let until = last_reset
// BUG: seconds are sometimes a little too much, for
// example with `-o` #17
.checked_add_signed(len.into()) .checked_add_signed(len.into())
.expect("could not calculate when the countdown finishes"); .expect("could not calculate when the countdown finishes");
let timestamp_until: String = let timestamp_until: String =