mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-14 04:27:57 -05:00
terminal: rename and redefine cursor keys mode and keypad keys mode
This commit is contained in:
parent
d90ea88aa2
commit
9b5c044b29
4 changed files with 10 additions and 10 deletions
4
main.c
4
main.c
|
|
@ -294,8 +294,8 @@ main(int argc, char *const *argv)
|
|||
struct terminal term = {
|
||||
.quit = false,
|
||||
.ptmx = posix_openpt(O_RDWR | O_NOCTTY),
|
||||
.decckm = DECCKM_CSI,
|
||||
.keypad_mode = KEYPAD_NUMERICAL, /* TODO: verify */
|
||||
.cursor_keys_mode = CURSOR_KEYS_NORMAL,
|
||||
.keypad_keys_mode = KEYPAD_NUMERICAL,
|
||||
.auto_margin = true,
|
||||
.vt = {
|
||||
.state = 1, /* STATE_GROUND */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue