diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-03-02 07:16:17 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-03-06 15:33:24 +0000 |
| commit | 702d3ae6ca8e232ba4df9f0ee4e0141e243b49cf (patch) | |
| tree | f9672002e4d6a75a7418cee6b3ae265ba9485cf9 /scripts/benchmark.py | |
| parent | kitty kbd: switch from GTK to XKB mode for 'consumed' modifiers (diff) | |
kitty kbd: update handling of locked modifiers
The kitty keyboard specification has been updated/clarified yet
again. Locked modifiers are to be ignored if the key event would
result in plain text without the locked modifier being enabled.
In short, locked modifiers are included in the set of modifiers
reported in a key event. But having a locked modifier enabled doesn't
turn all key events into CSIu sequences.
For example, with only the disambiguate mode enabled, pressing 'a', or
'shift+a' results in a/A regardless of the state of Caps- or NumLock.
But 'ctrl+a', which always results in a CSIu, will have a different
modifier list, depending on whether Caps- or NumLock are enabled.
Diffstat (limited to 'scripts/benchmark.py')
0 files changed, 0 insertions, 0 deletions
