mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-05 01:33:30 +02:00
search now filters the list first
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user