aboutsummaryrefslogtreecommitdiff
path: root/src/tui/commands.rs
diff options
context:
space:
mode:
authorlukeflo2024-11-14 14:15:35 +0100
committerlukeflo2024-11-14 14:15:35 +0100
commitca51eea300b84a6fa865c6f3e00823a8099bb9bc (patch)
tree920a86a4466ed7172afc1351f7a454c75afb6745 /src/tui/commands.rs
parent5731d4a302ee7eabd78d67ec254e2bf09c06d086 (diff)
downloadbibiman-ca51eea300b84a6fa865c6f3e00823a8099bb9bc.tar.gz
bibiman-ca51eea300b84a6fa865c6f3e00823a8099bb9bc.zip
implement scrolling for help popup
Diffstat (limited to 'src/tui/commands.rs')
-rw-r--r--src/tui/commands.rs4
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),