From ca51eea300b84a6fa865c6f3e00823a8099bb9bc Mon Sep 17 00:00:00 2001 From: lukeflo Date: Thu, 14 Nov 2024 14:15:35 +0100 Subject: implement scrolling for help popup --- src/tui/commands.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tui/commands.rs') 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 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), -- cgit v1.2.3