Skip to content

Commit

Permalink
Add mark pane prompt message for ctrl + t
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Jun 29, 2021
1 parent 02dd1b7 commit af538bc
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/interactive/widgets/mark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -369,7 +381,7 @@ impl MarkPane {
},
),
Span::styled(
" deletes listed entries from disk without prompt",
" to delete without prompt",
default_style,
),
])))
Expand Down

0 comments on commit af538bc

Please sign in to comment.