summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rw-r--r--alacritty/src/input.rs4
2 files changed, 2 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c05d2a31..f367308f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -47,6 +47,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Missing glyph symbols not being rendered for missing glyphs on macOS and Windows
- Underline cursor being obscured by underline
- Cursor not being rendered with a lot of unicode glyphs visible
+- IME input swallowed after triggering a key binding
### Removed
diff --git a/alacritty/src/input.rs b/alacritty/src/input.rs
index 55799dc5..259ceeba 100644
--- a/alacritty/src/input.rs
+++ b/alacritty/src/input.rs
@@ -824,7 +824,7 @@ impl<'a, T: EventListener, A: ActionContext<T>> Processor<'a, T, A> {
*self.ctx.received_count() = 0;
self.process_key_bindings(input);
},
- ElementState::Released => (),
+ ElementState::Released => *self.ctx.suppress_chars() = false,
}
}
@@ -854,8 +854,6 @@ impl<'a, T: EventListener, A: ActionContext<T>> Processor<'a, T, A> {
self.ctx.search_input(c);
}
- *self.ctx.suppress_chars() = false;
-
return;
}