aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2020-01-30 22:16:30 +0000
committerGitHub <noreply@github.com>2020-01-30 22:16:30 +0000
commit7f4dce2ee04859fb0b48f15cf808b60065778703 (patch)
tree814fff13d8b239199028b88a05c995f3ca252c9c /alacritty/src
parent871a22eaf4b8fce71fb616ca909a0f2b46802716 (diff)
downloadr-alacritty-7f4dce2ee04859fb0b48f15cf808b60065778703.tar.gz
r-alacritty-7f4dce2ee04859fb0b48f15cf808b60065778703.tar.bz2
r-alacritty-7f4dce2ee04859fb0b48f15cf808b60065778703.zip
Fix backspace deleting chars when IME is open
Fixes #1606.
Diffstat (limited to 'alacritty/src')
-rw-r--r--alacritty/src/config/bindings.rs2
1 files changed, 1 insertions, 1 deletions
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());
)
}