diff options
| author | pablu <me@pablu.de> | 2026-05-07 14:34:40 +0200 |
|---|---|---|
| committer | pablu <me@pablu.de> | 2026-05-07 14:34:40 +0200 |
| commit | 673853a8857c06a1b3e38122818e4eb0a3a77bb6 (patch) | |
| tree | f0ba92453891d55af50faff2552fc6e8b9e39436 /src/event.rs | |
| parent | cc8e924ce828d237d7cdd245b794c532a4ee80d8 (diff) | |
searching list instead of only one
Diffstat (limited to 'src/event.rs')
| -rw-r--r-- | src/event.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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<bool> { 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 { |
