diff options
author | Christian Duerr <contact@christianduerr.com> | 2020-01-30 22:16:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-30 22:16:30 +0000 |
commit | 7f4dce2ee04859fb0b48f15cf808b60065778703 (patch) | |
tree | 814fff13d8b239199028b88a05c995f3ca252c9c | |
parent | 871a22eaf4b8fce71fb616ca909a0f2b46802716 (diff) | |
download | alacritty-7f4dce2ee04859fb0b48f15cf808b60065778703.tar.gz alacritty-7f4dce2ee04859fb0b48f15cf808b60065778703.zip |
Fix backspace deleting chars when IME is open
Fixes #1606.
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | alacritty/src/config/bindings.rs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 19238ef7..220beea5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,6 +42,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Resize of bitmap fonts - Crash when using bitmap font with `embeddedbitmap` set to `false` - Inconsistent fontconfig fallback +- Backspace deleting characters while IME is open on macOS ### Removed diff --git a/alacritty/src/config/bindings.rs b/alacritty/src/config/bindings.rs index d5360e9a..67dda775 100644 --- a/alacritty/src/config/bindings.rs +++ b/alacritty/src/config/bindings.rs @@ -287,7 +287,6 @@ pub fn default_key_bindings() -> Vec<KeyBinding> { PageDown; Action::Esc("\x1b[6~".into()); PageDown, ModifiersState::SHIFT, +TermMode::ALT_SCREEN; Action::Esc("\x1b[6;2~".into()); Tab, ModifiersState::SHIFT; Action::Esc("\x1b[Z".into()); - Back; Action::Esc("\x7f".into()); Back, ModifiersState::ALT; Action::Esc("\x1b\x7f".into()); Insert; Action::Esc("\x1b[2~".into()); Delete; Action::Esc("\x1b[3~".into()); @@ -406,6 +405,7 @@ fn common_keybindings() -> Vec<KeyBinding> { Add, ModifiersState::CTRL; Action::IncreaseFontSize; Subtract, ModifiersState::CTRL; Action::DecreaseFontSize; Minus, ModifiersState::CTRL; Action::DecreaseFontSize; + Back; Action::Esc("\x7f".into()); ) } |