diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-12-06 22:01:41 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-12-08 17:05:46 +0000 |
| commit | 7a5386d883c8b7cb4f23c13da948bd57c1eb3bf4 (patch) | |
| tree | cc06e8443bcac7b40d5e2a7a74bf872b446737aa /scripts/benchmark.py | |
| parent | grid: reload pointers into the uri range vector after inserting (diff) | |
kitty: implement “report associated text”
In this mode, key events that generate text now add a third CSI
parameter, indicating the actual codepoint.
Remember that we always use the *unshifted* key in the CSI
escapes. With this mode, those CSI escapes now also included the text
codepoint. I.e. what would have been emitted, had we not generated a
CSI escape.
As far as I can tell, this mode has no effect unless “report all keys
as escape sequences” is enabled (reason being, without that, there
aren’t any text events that generate CSIs - they’re always emitted
as-is).
Note that Kitty itself seems to be somewhat buggy in this mode. At
least on Wayland, with my Swedish layout. For example ‘a’ and ‘A’ does
generate the expected CSIs, but ‘å’ and ‘Å’ appears to be treated as
non-text input.
Furthermore, Kitty optimizes away the modifier parameter, if no
modifiers are pressed (e.g. CSI 97;;97u), while we always emit the
modifier (CSI 97;1;97u).
Related to #319
Diffstat (limited to 'scripts/benchmark.py')
0 files changed, 0 insertions, 0 deletions
