csi: recognize, but do nothing, for civis, cvvis

This commit is contained in:
Daniel Eklöf 2019-06-23 18:17:58 +02:00
parent ec9b343550
commit 7cc9be01f4
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

16
csi.c
View file

@ -463,6 +463,14 @@ csi_dispatch(struct terminal *term, uint8_t final)
term->decckm = DECCKM_SS3;
break;
case 12:
LOG_WARN("unimplemented: cursor blinking");
break;
case 25:
LOG_WARN("unimplemented: civis");
break;
case 1049:
if (term->grid.cells != term->grid.alt_grid) {
term->grid.cells = term->grid.alt_grid;
@ -496,6 +504,14 @@ csi_dispatch(struct terminal *term, uint8_t final)
term->decckm = DECCKM_CSI;
break;
case 12:
LOG_WARN("unimplemented: cursor blinking");
break;
case 25:
LOG_WARN("unimplemented: civis");
break;
case 1049:
if (term->grid.cells == term->grid.alt_grid) {
term->grid.cells = term->grid.normal_grid;