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
+2
-2
@@ -117,7 +117,7 @@ impl App {
|
||||
self.log_overlay_search.deactivate();
|
||||
}
|
||||
KeyCode::Backspace => {
|
||||
self.log_overlay_search.pop();
|
||||
self.log_overlay_search.backspace(key_event.modifiers);
|
||||
}
|
||||
KeyCode::Char(c) => {
|
||||
self.log_overlay_search.push(c);
|
||||
@@ -507,7 +507,7 @@ impl App {
|
||||
}
|
||||
KeyCode::Backspace => {
|
||||
if let Some(ref mut name) = self.instances_state.renaming {
|
||||
name.pop();
|
||||
widgets::search::backspace(name, key_event.modifiers);
|
||||
}
|
||||
}
|
||||
KeyCode::Char(c) => {
|
||||
|
||||
Reference in new issue
Block a user