diff options
| author | lukeflo | 2024-11-17 22:04:36 +0100 |
|---|---|---|
| committer | lukeflo | 2024-11-17 22:04:36 +0100 |
| commit | 724693299ad29cb8b322aae1a7b76b9ff9881c8d (patch) | |
| tree | d23eebe1c0554763b140117b095cb2c8d615b20f /src/tui/ui.rs | |
| parent | 8b1257009bcbc9e8c398526922092ebc9c60188d (diff) | |
| download | bibiman-724693299ad29cb8b322aae1a7b76b9ff9881c8d.tar.gz bibiman-724693299ad29cb8b322aae1a7b76b9ff9881c8d.zip | |
Add keybind hints for popup movement
Diffstat (limited to 'src/tui/ui.rs')
| -rw-r--r-- | src/tui/ui.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tui/ui.rs b/src/tui/ui.rs index ec0b412..0534761 100644 --- a/src/tui/ui.rs +++ b/src/tui/ui.rs @@ -164,7 +164,7 @@ pub fn render_popup(app: &mut App, frame: &mut Frame) { Some(PopupKind::Help) => { let block = Block::bordered() .title_top(" Keybindings ".bold()) - .title_bottom(" (j,k|↓,↑) ".bold()) + .title_bottom(" (j,k|↓,↑) ━ (ESC|ENTER) ".bold()) .title_alignment(Alignment::Center) .style(POPUP_HELP_BOX) .border_set(symbols::border::THICK) @@ -229,7 +229,7 @@ pub fn render_popup(app: &mut App, frame: &mut Frame) { let block = Block::bordered() .title_top(" Open ".bold()) - .title_bottom(" (j,k|↓,↑) ".bold()) + .title_bottom(" (j,k|↓,↑) ━ (ENTER) ━ (ESC)".bold()) .title_alignment(Alignment::Center) .style(POPUP_HELP_BOX) .border_set(symbols::border::THICK) |
