diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-06-28 16:01:00 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-06-28 16:01:00 +0200 |
commit | 92e3367fbc93b67b2db9d7296630d299294e4c13 (patch) | |
tree | 51e4399bc00da2f5c7c3f556555f7969ceddd111 | |
parent | build({flake,Cargo}.lock): Update (diff) | |
download | yt-92e3367fbc93b67b2db9d7296630d299294e4c13.zip |
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.
-rw-r--r-- | crates/yt/src/download/progress_hook.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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)), |