aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-11-11 17:28:37 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-12-01 18:39:10 +0000
commitdea8e89fda905d75e2f5ae425bdc363b68c6c66c (patch)
treedb1971c2261be09dcc2e6e6f24d81b800c54171a /README.md
parentinput: track num lock state (diff)
input: enforce ‘numerical’ keypad mode when Num Lock override is enabled
When num lock override has been enabled via “CSI?1035h” (the default), keypad is always considered to be in ‘numerical’ mode. This affects how keypad keys are translated to escape sequences when Num Lock is active. The keypad has four modes: * Num Lock off, numerical mode * Num Lock off, application mode * Num Lock on, numerical mode * Num Lock on, application mode The keymap is identical for numerical and application mode when Num Lock is off, meaning the keypad effectively has three different modes. In XTerm, numerical and application mode _can_ be the same, **if** the ‘numLock’ resource is set to true (the default). It is only when ‘numLock’ is false that the application mode is actually used. This patch changes foot to do the same. We don’t expose an option, but do implement “CSI ? 1035”. Closes #194
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions