Skip to content

Commit 547a9d9

Browse files
committed
escape/enter no longer exits the list, exits only the search
1 parent 44ab7f9 commit 547a9d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/list.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ fn handle_list(app_state: &mut AppState, stdout: &mut StdoutLock) -> Result<()>
4040
KeyCode::Esc | KeyCode::Enter => {
4141
is_searching = false; // not sure why rust analyzer thinks this is unused
4242
list_state.search_query.clear();
43-
return Ok(());
43+
continue;
4444
}
4545
KeyCode::Char(k) => {
4646
list_state.search_query.push(k);

0 commit comments

Comments
 (0)