Treat Shift + Backspace as Backspace

This commit is contained in:
Alexey Chernyshov 2020-05-07 15:37:49 +03:00 committed by GitHub
parent becd7cf459
commit 49a1ac96f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Low resolution window decoration icon on Windows
- Mouse bindings for additional buttons need to be specified as a number not a string
- Don't hide cursor on modifier press with `mouse.hide_when_typing` enabled
- `Shift + Backspace` now sends `^?` instead of `^H`
### Fixed

View File

@ -306,6 +306,7 @@ pub fn default_key_bindings() -> Vec<KeyBinding> {
L, ModifiersState::CTRL, ~TermMode::VI; Action::Esc("\x0c".into());
Tab, ModifiersState::SHIFT, ~TermMode::VI; Action::Esc("\x1b[Z".into());
Back, ModifiersState::ALT, ~TermMode::VI; Action::Esc("\x1b\x7f".into());
Back, ModifiersState::SHIFT, ~TermMode::VI; Action::Esc("\x7f".into());
Home, ModifiersState::SHIFT, ~TermMode::ALT_SCREEN; Action::ScrollToTop;
End, ModifiersState::SHIFT, ~TermMode::ALT_SCREEN; Action::ScrollToBottom;
PageUp, ModifiersState::SHIFT, ~TermMode::ALT_SCREEN; Action::ScrollPageUp;