feat(tui): support Ctrl+Backspace in text inputs
This commit is contained in:
1 parent
315567a79c
commit
cccf65981a
13 files changed
+99
-16
No files matched your search
@@ -248,7 +248,7 @@ pub fn handle_key(key_event: &KeyEvent, state: &mut ScreenshotsState) -> bool {
|
||||
state.scroll_row = 0;
|
||||
}
|
||||
KeyCode::Backspace => {
|
||||
state.search.pop();
|
||||
state.search.backspace(key_event.modifiers);
|
||||
state.selected = 0;
|
||||
state.scroll_row = 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user