diff options
author | Christian Duerr <contact@christianduerr.com> | 2020-08-14 07:26:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-14 10:26:42 +0300 |
commit | 0003f6683f56c28a9f5924cd96827cdb306d8abb (patch) | |
tree | f4d18a8b3b5335dbf4261006a7eb546c062f8c2c /alacritty/src/url.rs | |
parent | 0a1683e84dfa1d89e65e9b43ed5d586ece47c8dd (diff) | |
download | r-alacritty-0003f6683f56c28a9f5924cd96827cdb306d8abb.tar.gz r-alacritty-0003f6683f56c28a9f5924cd96827cdb306d8abb.tar.bz2 r-alacritty-0003f6683f56c28a9f5924cd96827cdb306d8abb.zip |
Fix selection scrolling with message bar visible
This resolves an issue with selection scrolling which would cause the
selection to wrap to the top of the screen once the cursor enters the
padding below the message bar.
Fixes #4120.
Diffstat (limited to 'alacritty/src/url.rs')
-rw-r--r-- | alacritty/src/url.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty/src/url.rs b/alacritty/src/url.rs index f972099d..f969c7af 100644 --- a/alacritty/src/url.rs +++ b/alacritty/src/url.rs @@ -163,7 +163,7 @@ impl Urls { // Make sure all prerequisites for highlighting are met. if selection - || !mouse.inside_grid + || !mouse.inside_text_area || config.ui_config.mouse.url.launcher.is_none() || required_mods != mods || mouse.left_button_state == ElementState::Pressed |