Fix #2391 Add Ctrl+H as backspace keyboard shortcut (#2412)

This pull request resolves #2391. ctrl + h is not assigned to any other
operations at this moment, and this feature request sounds valid to me.
If we don't prefer having this, please feel free to close this.
This commit is contained in:
Kazuhiro Sera authored and GitHub committed 2025-08-18 16:00:29 -07:00
1 parent ecb388045c
commit db30a6f5d8
1 file changed
+5
+5
View File
@@ -230,6 +230,11 @@ impl TextArea {
code: KeyCode::Backspace,
modifiers: KeyModifiers::NONE,
..
}
| KeyEvent {
code: KeyCode::Char('h'),
modifiers: KeyModifiers::CONTROL,
..
} => self.delete_backward(1),
KeyEvent {
code: KeyCode::Delete,