From a99547cc6dc1d752b29de785f969591c1ed74782 Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Wed, 10 Jul 2019 21:27:43 +0300 Subject: [PATCH] Fix mouse move handling This commit fixes the regression introduced in 84aca672964e29b5b4503b7da7bc34fc395f08ab. Fixes #2635. --- alacritty_terminal/src/input.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alacritty_terminal/src/input.rs b/alacritty_terminal/src/input.rs index 697c439..f4e38fa 100644 --- a/alacritty_terminal/src/input.rs +++ b/alacritty_terminal/src/input.rs @@ -414,7 +414,7 @@ impl<'a, A: ActionContext + 'a> Processor<'a, A> { prev_line != self.ctx.mouse().line || prev_col != self.ctx.mouse().column; // If the mouse hasn't changed cells, do nothing - if cell_changed || prev_side != cell_side { + if !cell_changed && prev_side == cell_side { return; }