csi: recognize a bunch of ?h/l commands, log unimplemented

This commit is contained in:
Daniel Eklöf 2019-06-24 20:01:12 +02:00
parent 0cf1253ac0
commit 722c2e7ed2
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

32
csi.c
View file

@ -535,6 +535,10 @@ csi_dispatch(struct terminal *term, uint8_t final)
term->decckm = DECCKM_SS3;
break;
case 5:
LOG_WARN("unimplemented: flash");
break;
case 12:
LOG_WARN("unimplemented: cursor blinking");
break;
@ -543,6 +547,18 @@ csi_dispatch(struct terminal *term, uint8_t final)
LOG_WARN("unimplemented: civis");
break;
case 1000:
LOG_WARN("unimplemented: report mouse clicks");
break;
case 1002:
LOG_WARN("unimplemented: report cell mouse motion");
break;
case 1006:
LOG_WARN("unimplemented: SGR mouse");
break;
case 1049:
if (term->grid.cells != term->grid.alt_grid) {
term->grid.cells = term->grid.alt_grid;
@ -576,6 +592,10 @@ csi_dispatch(struct terminal *term, uint8_t final)
term->decckm = DECCKM_CSI;
break;
case 5:
LOG_WARN("unimplemented: flash");
break;
case 12:
LOG_WARN("unimplemented: cursor blinking");
break;
@ -584,6 +604,18 @@ csi_dispatch(struct terminal *term, uint8_t final)
LOG_WARN("unimplemented: civis");
break;
case 1000:
LOG_WARN("unimplemented: report mouse clicks");
break;
case 1002:
LOG_WARN("unimplemented: report cell mouse motion");
break;
case 1006:
LOG_WARN("unimplemented: SGR mouse");
break;
case 1049:
if (term->grid.cells == term->grid.alt_grid) {
term->grid.cells = term->grid.normal_grid;