From 673853a8857c06a1b3e38122818e4eb0a3a77bb6 Mon Sep 17 00:00:00 2001 From: pablu Date: Thu, 7 May 2026 14:34:40 +0200 Subject: searching list instead of only one --- src/event.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/event.rs') diff --git a/src/event.rs b/src/event.rs index 52013a5..530e244 100644 --- a/src/event.rs +++ b/src/event.rs @@ -12,6 +12,9 @@ pub fn handle_event(app: &mut App) -> io::Result { KeyCode::Char('j') => app.list_state.select_next(), KeyCode::Char('k') => app.list_state.select_previous(), KeyCode::Char('/') => app.toggle_search_window(), + KeyCode::Char('n') => app.next_search(), + KeyCode::Char('N') => app.prev_search(), + _ => return Ok(false), } } else { -- cgit 1.3.1