summaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/event.rs
diff options
context:
space:
mode:
authorKirill Chibisov <wchibisovkirill@gmail.com>2019-07-28 20:04:26 +0300
committerChristian Duerr <chrisduerr@users.noreply.github.com>2019-07-28 17:04:26 +0000
commit72dfa477a9785289931e8e05dfc8244bb6a4e81c (patch)
treeec6c959deda0aea2a6c6571dac0242a4ce7a084a /alacritty_terminal/src/event.rs
parent14a48a25332ebad2ab227fad618d06efe2501d43 (diff)
downloadalacritty-72dfa477a9785289931e8e05dfc8244bb6a4e81c.tar.gz
alacritty-72dfa477a9785289931e8e05dfc8244bb6a4e81c.zip
Fix cursor flickering on url hover
This commit fixes the regression introduced in 84aca67 and also fixes url highlight bounds computation when url ends on a last column. Fixes #2665.
Diffstat (limited to 'alacritty_terminal/src/event.rs')
-rw-r--r--alacritty_terminal/src/event.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/alacritty_terminal/src/event.rs b/alacritty_terminal/src/event.rs
index bb34d2f2..d3daf820 100644
--- a/alacritty_terminal/src/event.rs
+++ b/alacritty_terminal/src/event.rs
@@ -410,6 +410,7 @@ impl<N: Notify> Processor<N> {
processor.ctx.terminal.next_is_urgent = Some(false);
} else {
processor.ctx.terminal.reset_url_highlight();
+ processor.ctx.terminal.reset_mouse_cursor();
processor.ctx.terminal.dirty = true;
*hide_mouse = false;
}