aboutsummaryrefslogtreecommitdiff
path: root/alacritty_terminal
diff options
context:
space:
mode:
authorKirill Chibisov <wchibisovkirill@gmail.com>2019-07-10 21:27:43 +0300
committerChristian Duerr <chrisduerr@users.noreply.github.com>2019-07-10 18:27:43 +0000
commita99547cc6dc1d752b29de785f969591c1ed74782 (patch)
tree5c213d1bc6adf7b15e4b73d00449ecaccaab2fb0 /alacritty_terminal
parent84aca672964e29b5b4503b7da7bc34fc395f08ab (diff)
downloadalacritty-a99547cc6dc1d752b29de785f969591c1ed74782.tar.gz
alacritty-a99547cc6dc1d752b29de785f969591c1ed74782.zip
Fix mouse move handling
This commit fixes the regression introduced in 84aca672964e29b5b4503b7da7bc34fc395f08ab. Fixes #2635.
Diffstat (limited to 'alacritty_terminal')
-rw-r--r--alacritty_terminal/src/input.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty_terminal/src/input.rs b/alacritty_terminal/src/input.rs
index 697c439f..f4e38fa1 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;
}