search now filters the list first

This commit is contained in:
Adhyan
2024-09-02 10:59:23 -06:00
parent 547a9d947b
commit abf1228a0a
2 changed files with 22 additions and 3 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ fn handle_list(app_state: &mut AppState, stdout: &mut StdoutLock) -> Result<()>
if is_searching {
match curr_key {
KeyCode::Esc | KeyCode::Enter => {
is_searching = false; // not sure why rust analyzer thinks this is unused
is_searching = false;
list_state.search_query.clear();
continue;
}