csi: CSI ?3h enables 132 column mode, CSI ?3l 80 column mode

This commit is contained in:
Daniel Eklöf 2019-11-05 11:10:56 +01:00
parent bf58b9ea8e
commit 342d6036f9
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

8
csi.c
View file

@ -722,6 +722,11 @@ csi_dispatch(struct terminal *term, uint8_t final)
term->cursor_keys_mode = CURSOR_KEYS_APPLICATION;
break;
case 3:
LOG_WARN("unimplemented: 132 column mode (DECCOLM, %s)",
csi_as_string(term, final));
break;
case 5:
term->reverse = true;
term_damage_all(term);
@ -825,8 +830,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
break;
case 3:
LOG_WARN("unimplemented: 132 column mode (DECCOLM, %s)",
csi_as_string(term, final));
/* DECCOLM - 80 column mode */
break;
case 4: