From 92e3367fbc93b67b2db9d7296630d299294e4c13 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 28 Jun 2025 16:01:00 +0200 Subject: fix(yt/download/progress_hook): Remove superfluous apostrophes The start and end of the title is already apparent, as it is coloured differently than the rest. Adding the single quotes around it does not improve it and is just visual clatter. --- crates/yt/src/download/progress_hook.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates') diff --git a/crates/yt/src/download/progress_hook.rs b/crates/yt/src/download/progress_hook.rs index c507165..ad754b0 100644 --- a/crates/yt/src/download/progress_hook.rs +++ b/crates/yt/src/download/progress_hook.rs @@ -168,7 +168,7 @@ pub fn progress_hook( move_to_col(1); eprint!( - "'{}' [{}/{} at {}] -> [{} of {}{} {}] ", + "{} [{}/{} at {}] -> [{} of {}{} {}] ", c!("34;1", get_title()), c!("33;1", MaybeDuration::from_secs_f64(elapsed)), c!("33;1", MaybeDuration::from_secs_f64(eta)), -- cgit 1.4.1