mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
122e1720927646d81f3aaa24abacc2860de93a35
When a modifier key is pressed, that modifier is not included in mods. When it is released, it is included. Therefore, we have to special case the modifier keys when storing the modifiers that are active. When a modifier key is pressed, we add the modifier to mods_at_last_key_or_button_event, and when it is released, we remove it. This fixes an issue where move and drag events would still be sent to the terminal program after pressing shift, but would stop being sent after releasing shift until another key or button was pressed.
…
= kitty - the fast, featureful, GPU based, terminal emulator See https://sw.kovidgoyal.net/kitty/ image:https://github.com/kovidgoyal/kitty/workflows/CI/badge.svg["Build status", link="https://github.com/kovidgoyal/kitty/actions?query=workflow%3ACI"]
Languages
Python
38.5%
C
28%
Go
26.4%
Objective-C
5.5%
Shell
1%
Other
0.5%