diff options
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | alacritty/src/input.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index cd670755..34c80e89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -75,6 +75,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Use `\` instead of `\\` as path separators on Windows for logging config file location - Underline/strikeout drawn above visual bell - Terminal going transparent during visual bell +- Selection not being cleared when sending chars through a binding ### Removed diff --git a/alacritty/src/input.rs b/alacritty/src/input.rs index a3148820..b9b99565 100644 --- a/alacritty/src/input.rs +++ b/alacritty/src/input.rs @@ -143,6 +143,7 @@ impl<T: EventListener> Execute<T> for Action { fn execute<A: ActionContext<T>>(&self, ctx: &mut A, mouse_mode: bool) { match *self { Action::Esc(ref s) => { + ctx.clear_selection(); ctx.scroll(Scroll::Bottom); ctx.write_to_pty(s.clone().into_bytes()) }, |