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
csi.c
4
csi.c
|
|
@ -588,7 +588,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
|||
for (size_t i = 0; i < term->vt.params.idx; i++) {
|
||||
switch (term->vt.params.v[i].value) {
|
||||
case 1:
|
||||
term->decckm = DECCKM_SS3;
|
||||
term->cursor_keys_mode = CURSOR_KEYS_APPLICATION;
|
||||
break;
|
||||
|
||||
case 5:
|
||||
|
|
@ -667,7 +667,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
|||
for (size_t i = 0; i < term->vt.params.idx; i++) {
|
||||
switch (term->vt.params.v[i].value) {
|
||||
case 1:
|
||||
term->decckm = DECCKM_CSI;
|
||||
term->cursor_keys_mode = CURSOR_KEYS_NORMAL;
|
||||
break;
|
||||
|
||||
case 5:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue