diff options
| author | mo8it <mo8it@proton.me> | 2024-04-28 23:22:11 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-04-28 23:22:11 +0200 |
| commit | 593f0e0916dab5d600d50208ba226786968026c3 (patch) | |
| tree | 747a04dcc04bfcc74233329b0c9aae6a58f84174 /src/list.rs | |
| parent | 1508938fed4e3800dcf45c807f67e87ebe8ca30b (diff) | |
Revert escaping with ESC in list to be able to clear the message
Diffstat (limited to 'src/list.rs')
| -rw-r--r-- | src/list.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/list.rs b/src/list.rs index 40a069a..790c02f 100644 --- a/src/list.rs +++ b/src/list.rs @@ -42,7 +42,7 @@ pub fn list(app_state: &mut AppState) -> Result<()> { ui_state.message.clear(); match key.code { - KeyCode::Esc | KeyCode::Char('q') => break, + KeyCode::Char('q') => break, KeyCode::Down | KeyCode::Char('j') => ui_state.select_next(), KeyCode::Up | KeyCode::Char('k') => ui_state.select_previous(), KeyCode::Home | KeyCode::Char('g') => ui_state.select_first(), |
