mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-10 05:33:51 -04:00
csi: CSI ?3h enables 132 column mode, CSI ?3l 80 column mode
This commit is contained in:
parent
bf58b9ea8e
commit
342d6036f9
1 changed files with 6 additions and 2 deletions
8
csi.c
8
csi.c
|
|
@ -722,6 +722,11 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
||||||
term->cursor_keys_mode = CURSOR_KEYS_APPLICATION;
|
term->cursor_keys_mode = CURSOR_KEYS_APPLICATION;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 3:
|
||||||
|
LOG_WARN("unimplemented: 132 column mode (DECCOLM, %s)",
|
||||||
|
csi_as_string(term, final));
|
||||||
|
break;
|
||||||
|
|
||||||
case 5:
|
case 5:
|
||||||
term->reverse = true;
|
term->reverse = true;
|
||||||
term_damage_all(term);
|
term_damage_all(term);
|
||||||
|
|
@ -825,8 +830,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 3:
|
case 3:
|
||||||
LOG_WARN("unimplemented: 132 column mode (DECCOLM, %s)",
|
/* DECCOLM - 80 column mode */
|
||||||
csi_as_string(term, final));
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 4:
|
case 4:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue