aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrazou <4470714+Frazew@users.noreply.github.com>2025-03-15 23:14:35 +0100
committerGitHub <noreply@github.com>2025-03-15 22:14:35 +0000
commit5a68e98db062f2de49f980b8b30a2f9d3aecfae1 (patch)
tree4b0bedd0aabc85410dde388dec68cb2cb7460521 /src
parent03c2907b44b4189aac5fdeaea331f5aab5c7072e (diff)
downloadr-alacritty-5a68e98db062f2de49f980b8b30a2f9d3aecfae1.tar.gz
r-alacritty-5a68e98db062f2de49f980b8b30a2f9d3aecfae1.tar.bz2
r-alacritty-5a68e98db062f2de49f980b8b30a2f9d3aecfae1.zip
Fix selection clearing in kitty keyboard mode
When Kitty's keyboard protocol is used and Report all keys as escape codes flag (8) is enabled, modifier key escape codes trigger the usual "write something to the terminal" code path, which clears the selection / scrolls down etc. This behavior is mostly unexpected, and makes some actions more painful to perform (for instance copying text becomes harder: hitting CTRL to begin the CTRL+SHIFT+C sequence clears the selection). This patch clears the selection only if the key event is not a modifier key, which aligns with Alacritty's usual behavior. Fixes #8509.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions