Skip to content

Commit

Permalink
Fix backspace deleting chars when IME is open
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisduerr committed Jan 30, 2020
1 parent 871a22e commit 7f4dce2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion alacritty/src/config/bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down Expand Up @@ -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());
)
}

Expand Down

0 comments on commit 7f4dce2

Please sign in to comment.