From e1c1b1d4f609dbf6afa41ed38d96caef10e662f9 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Thu, 5 Dec 2024 23:02:22 +0100 Subject: [PATCH] fix(main): consistent history label italics --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 5103c16..756aee2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -640,7 +640,7 @@ async fn main() -> Result<()> { format!("{} {}", if max == usize::MAX { "All".to_string() } else { format!("Latest {max} entries of") }, label) - }, + }.italic(), vec.iter().rev().join("\n")); } else if let Some((key, _)) = tasks.find_user(arg) { let (label, mut times) = tasks.times_tracked_for(&key);