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(
|
.title_bottom(
|
||||||
crate::tui::widgets::popups::keybind_line(&[
|
crate::tui::widgets::popups::keybind_line(&[
|
||||||
("j/k", " scroll"),
|
("S", " close"),
|
||||||
("S/Esc", " close"),
|
|
||||||
])
|
])
|
||||||
.alignment(Alignment::Right),
|
.alignment(Alignment::Right),
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ impl Widget for ConfirmPopup {
|
|||||||
.fg(THEME.colors.border_focused)
|
.fg(THEME.colors.border_focused)
|
||||||
.add_modifier(Modifier::BOLD),
|
.add_modifier(Modifier::BOLD),
|
||||||
)]);
|
)]);
|
||||||
let kb = keybind_line(&[("Enter", " confirm"), ("Esc", " cancel")]);
|
let kb = keybind_line(&[("Enter", " confirm")]);
|
||||||
|
|
||||||
let popup = PopupFrame {
|
let popup = PopupFrame {
|
||||||
title,
|
title,
|
||||||
|
|||||||
Reference in new issue
Block a user