summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2021-06-30 07:33:44 +0800
committerSebastian Thiel <sebastian.thiel@icloud.com>2021-06-30 07:33:44 +0800
commitaf538bc545c3b3b7c0a3d5541a1a80b0da536e5b (patch)
tree2efd098a0a58fa9d223fb269b70211bb8f878df7
parent02dd1b72c8fe741fb153094fdb08816f7f593c6f (diff)
Add mark pane prompt message for ctrl + t
-rw-r--r--src/interactive/widgets/mark.rs14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/interactive/widgets/mark.rs b/src/interactive/widgets/mark.rs
index a122f6c..593bace 100644
--- a/src/interactive/widgets/mark.rs
+++ b/src/interactive/widgets/mark.rs
@@ -361,6 +361,18 @@ impl MarkPane {
};
Paragraph::new(Text::from(Spans::from(vec![
Span::styled(
+ " Ctrl + t",
+ Style {
+ fg: Color::White.into(),
+ bg: Color::Black.into(),
+ ..default_style
+ },
+ ),
+ Span::styled(
+ " to trash or ",
+ default_style,
+ ),
+ Span::styled(
" Ctrl + r",
Style {
fg: Color::LightRed.into(),
@@ -369,7 +381,7 @@ impl MarkPane {
},
),
Span::styled(
- " deletes listed entries from disk without prompt",
+ " to delete without prompt",
default_style,
),
])))