diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-11-11 16:43:39 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-11-13 10:09:07 +0000 |
| commit | 4a740509996d3a7e8808593d1cbc0128b1ae03ed (patch) | |
| tree | 1d1764966b31f2a916e8b1ffa9d9988b47bce1bc /debug.c | |
| parent | Merge branch 'no-scrollback-multiplier-on-alt-screen' (diff) | |
input: add support for modifyOtherKeys=2
Similar to modifyOtherKeys=1 (foot’s default, and only, mode), except
that:
* All modifiers (and not just Ctrl) generate \E[27;m;n~ escapes
* Regular keys (with modifiers) also generate \E[27;m;n~ escapes (for
example, C-h no longer generates ^H, but \E[27;5;104~)
For our keymap based lookups, this is handled by adding
MOD_MODIFY_OTHER_KEYS_STATE<N> variants.
For “generic” keys, we simply adjust the conditions for when to emit a
\E[27;m;n~ escape - the only requirement is that at least one modifier
is active.
Diffstat (limited to 'debug.c')
0 files changed, 0 insertions, 0 deletions
