mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-12 04:27:51 -05:00
readme/doc:foot.1: document the (new) keypad behavior
This commit is contained in:
parent
dea8e89fda
commit
8970c7ea18
4 changed files with 44 additions and 1 deletions
|
|
@ -261,6 +261,23 @@ described above *cannot* be changed.
|
|||
|
||||
Finally, pressing *alt* will prefix the transmitted byte with ESC.
|
||||
|
||||
# KEYPAD
|
||||
|
||||
By default, *Num Lock* overrides the run-time configuration keypad
|
||||
mode; when active, the keypad is always considered to be in
|
||||
_numerical_ mode. This corresponds to XTerm's *numLock* option set to
|
||||
*true*.
|
||||
|
||||
In this mode, the keypad keys always sends either numbers (Num Lock is
|
||||
active) or cursor movement keys (up, down, left, right, page up, page
|
||||
down etc).
|
||||
|
||||
This can be disabled programmatically with *\E[?1035l* (and enabled
|
||||
again with *\E[?1035h*).
|
||||
|
||||
When disabled, the keypad sends custom escape sequences instead of
|
||||
numbers, when in _application_ mode.
|
||||
|
||||
# CONFIGURATION
|
||||
|
||||
See *foot.ini*(5)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue