diff options
| author | lukeflo | 2024-11-14 14:15:35 +0100 |
|---|---|---|
| committer | lukeflo | 2024-11-14 14:15:35 +0100 |
| commit | ca51eea300b84a6fa865c6f3e00823a8099bb9bc (patch) | |
| tree | 920a86a4466ed7172afc1351f7a454c75afb6745 /src/tui/commands.rs | |
| parent | 5731d4a302ee7eabd78d67ec254e2bf09c06d086 (diff) | |
| download | bibiman-ca51eea300b84a6fa865c6f3e00823a8099bb9bc.tar.gz bibiman-ca51eea300b84a6fa865c6f3e00823a8099bb9bc.zip | |
implement scrolling for help popup
Diffstat (limited to 'src/tui/commands.rs')
| -rw-r--r-- | src/tui/commands.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tui/commands.rs b/src/tui/commands.rs index 6a2ab13..a9566d0 100644 --- a/src/tui/commands.rs +++ b/src/tui/commands.rs @@ -52,7 +52,7 @@ pub enum CmdAction { // Search list SearchList, // Reset lists - ResetList, + Reset, // Confirm search/selection Confirm, // Sort table/list @@ -140,7 +140,7 @@ impl From<KeyEvent> for CmdAction { // Confirm selection KeyCode::Enter => Self::Confirm, // Reset lists/tables - KeyCode::Esc => Self::ResetList, + KeyCode::Esc => Self::Reset, // Open linked ressource KeyCode::Char('o') => Self::Open(OpenRessource::Pdf), // KeyCode::Char('u') => Self::Open(OpenRessource::WebLink), |
