diff options
| author | Adhyan <adhyanpatel@gmail.com> | 2024-09-01 19:03:33 -0600 |
|---|---|---|
| committer | Adhyan <adhyanpatel@gmail.com> | 2024-09-01 19:03:33 -0600 |
| commit | 388f8da97f2ff47011d1bebbf0d153ea85741562 (patch) | |
| tree | 3fc4c1c8f3d710f42f94cb8cb52247c7c246e927 /src/list.rs | |
| parent | e1e316b9313bbd5b3865032c97bc4f4cc15a3e0f (diff) | |
removed debug statements
Diffstat (limited to 'src/list.rs')
| -rw-r--r-- | src/list.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/list.rs b/src/list.rs index 8364da7..351b0b5 100644 --- a/src/list.rs +++ b/src/list.rs @@ -43,8 +43,6 @@ fn handle_list(app_state: &mut AppState, stdout: &mut StdoutLock) -> Result<()> return Ok(()); } KeyCode::Char(k) => { - eprintln!("pressed while searching {:?}", curr_key); - list_state.search_query.push(k); list_state.message.push_str("search:"); list_state.message.push_str(&list_state.search_query); @@ -109,15 +107,12 @@ fn handle_list(app_state: &mut AppState, stdout: &mut StdoutLock) -> Result<()> } } KeyCode::Char('s') | KeyCode::Char('/') => { - eprintln!("starting search"); list_state.message.push_str("search:|"); is_searching = true; } // Redraw to remove the message. KeyCode::Esc => (), - _ => { - continue; - } + _ => continue, } } Event::Mouse(event) => match event.kind { |
