From af538bc545c3b3b7c0a3d5541a1a80b0da536e5b Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Wed, 30 Jun 2021 07:33:44 +0800 Subject: [PATCH] Add mark pane prompt message for ctrl + t --- src/interactive/widgets/mark.rs | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/interactive/widgets/mark.rs b/src/interactive/widgets/mark.rs index a122f6cb..593bacef 100644 --- a/src/interactive/widgets/mark.rs +++ b/src/interactive/widgets/mark.rs @@ -360,6 +360,18 @@ impl MarkPane { sub_modifier: Modifier::empty(), }; 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 { @@ -369,7 +381,7 @@ impl MarkPane { }, ), Span::styled( - " deletes listed entries from disk without prompt", + " to delete without prompt", default_style, ), ])))