style: show only non-obvious keybinds in all popup hints
This commit is contained in:
1 parent
045e330cbd
commit
b4a2bca9c3
2 files changed
+2
-3
No files matched your search
+1
-2
@@ -361,8 +361,7 @@ impl App {
|
||||
)]))
|
||||
.title_bottom(
|
||||
crate::tui::widgets::popups::keybind_line(&[
|
||||
("j/k", " scroll"),
|
||||
("S/Esc", " close"),
|
||||
("S", " close"),
|
||||
])
|
||||
.alignment(Alignment::Right),
|
||||
)
|
||||
|
||||
@@ -69,7 +69,7 @@ impl Widget for ConfirmPopup {
|
||||
.fg(THEME.colors.border_focused)
|
||||
.add_modifier(Modifier::BOLD),
|
||||
)]);
|
||||
let kb = keybind_line(&[("Enter", " confirm"), ("Esc", " cancel")]);
|
||||
let kb = keybind_line(&[("Enter", " confirm")]);
|
||||
|
||||
let popup = PopupFrame {
|
||||
title,
|
||||
|
||||
Reference in new issue
Block a user