aboutsummaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
authorChristian Duerr <chrisduerr@users.noreply.github.com>2018-10-27 14:15:08 +0000
committerGitHub <noreply@github.com>2018-10-27 14:15:08 +0000
commita9397727d2a0d07a0a3aeed83a21e44c638677ef (patch)
tree4cc44025abadda8aa978a0995067458b21737261 /src/cli.rs
parente5ca26518ec0b520cecd1a53076ddec589f14248 (diff)
downloadr-alacritty-a9397727d2a0d07a0a3aeed83a21e44c638677ef.tar.gz
r-alacritty-a9397727d2a0d07a0a3aeed83a21e44c638677ef.tar.bz2
r-alacritty-a9397727d2a0d07a0a3aeed83a21e44c638677ef.zip
Relax matching of URL modifiers
To click on links in the alternate screen buffer, it is necessary that the `shift` button is held down, otherwise mouse events are captured by the application. However this would also require that `Shift` is added to the `mouse.url.modifiers` option. Thus it is not possible anymore to click on URLs unless the shift button is always held down. To resolve this issue, the matching of modifiers has been relaxed. If a modifier is specified in the config, it is always required to be held down. However if a modifier is held down which is not specified, it is still accpeted. This one-way relaxed matching allows clicking on links with or without shift held down without having to make use of the `mouse.url.modifiers` setting at all.
Diffstat (limited to 'src/cli.rs')
0 files changed, 0 insertions, 0 deletions