aboutsummaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
authorChristian Duerr <chrisduerr@users.noreply.github.com>2019-03-24 17:37:30 +0000
committerGitHub <noreply@github.com>2019-03-24 17:37:30 +0000
commit3e36d714fec8139a1e506036a394b343bd1a8bb4 (patch)
tree88cd59c895bfec86b787fac84f93713683fb502a /src/cli.rs
parentd8272662db4a4dc1ef58b8379dc88162066a3241 (diff)
downloadr-alacritty-3e36d714fec8139a1e506036a394b343bd1a8bb4.tar.gz
r-alacritty-3e36d714fec8139a1e506036a394b343bd1a8bb4.tar.bz2
r-alacritty-3e36d714fec8139a1e506036a394b343bd1a8bb4.zip
Fix URL highlight crash
The URL highlight stores the state of the last URL highlight with the position of the URL start position. However when resizing, it's possible that the indices of this point change which will cause a crash if the old positions are not within the grid anymore. This has been resolved by resetting the URL highlight state whenever the terminal is resized. The original PR incorrectly required the shift modifier to be required when the user was in the alternate screen buffer. However the correct behavior is to require it when the mouse mode is enabled. This has been resolved and URLs are now highlighted in the alt screen even if no shift modifier is pressed. This fixes #2194.
Diffstat (limited to 'src/cli.rs')
0 files changed, 0 insertions, 0 deletions