aboutsummaryrefslogtreecommitdiff
path: root/spawn.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-12-06 22:01:41 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-12-08 17:05:46 +0000
commit7a5386d883c8b7cb4f23c13da948bd57c1eb3bf4 (patch)
treecc06e8443bcac7b40d5e2a7a74bf872b446737aa /spawn.c
parentgrid: 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 'spawn.c')
0 files changed, 0 insertions, 0 deletions