feat(tui): support Ctrl+Backspace in text inputs

This commit is contained in:
objz committed 2026-07-28 16:46:15 +02:00
1 parent 315567a79c
commit cccf65981a
13 files changed
+99 -16

No files matched your search

+1 -1
View File
@@ -934,7 +934,7 @@ pub fn handle_key(key_event: &KeyEvent, state: &mut DiscoveryState) -> bool {
match key_event.code {
KeyCode::Enter => state.search.confirm(),
KeyCode::Esc => state.search.deactivate(),
KeyCode::Backspace => state.search.pop(),
KeyCode::Backspace => state.search.backspace(key_event.modifiers),
KeyCode::Char(c) => state.search.push(c),
_ => {}
}