about summary refs log tree commit diff stats
path: root/src/select/selection_file
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-24 11:40:01 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-24 11:45:33 +0200
commitffab6069611efe74b8f01c0b8cbcb01afc37ed47 (patch)
tree3b352f1f39f67a9154dbb3da89f4a5e0d1cda7fc /src/select/selection_file
parentfix(treewide): Always display bytes in a formatted way through `Bytes` (diff)
downloadyt-ffab6069611efe74b8f01c0b8cbcb01afc37ed47.tar.gz
yt-ffab6069611efe74b8f01c0b8cbcb01afc37ed47.zip
fix(select/display): Only align the status commands in color_display
Diffstat (limited to '')
-rw-r--r--src/select/selection_file/display.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/select/selection_file/display.rs b/src/select/selection_file/display.rs
index 23c39d0..1f4e09b 100644
--- a/src/select/selection_file/display.rs
+++ b/src/select/selection_file/display.rs
@@ -54,7 +54,7 @@ impl Video {
         write!(
             f,
             r#"{}{}{} {} "{}" "{}" "{}" "{}" "{}"{}"#,
-            self.status.as_command(),
+            self.status.as_command().trim(),
             opts_white,
             opts,
             self.extractor_hash.into_short_hash(app).await?,