aboutsummaryrefslogtreecommitdiff
path: root/src/tui/commands.rs
diff options
context:
space:
mode:
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),