mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-04 07:15:29 -04:00
csi: recognize a bunch of ?h/l commands, log unimplemented
This commit is contained in:
parent
0cf1253ac0
commit
722c2e7ed2
1 changed files with 32 additions and 0 deletions
32
csi.c
32
csi.c
|
|
@ -535,6 +535,10 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
||||||
term->decckm = DECCKM_SS3;
|
term->decckm = DECCKM_SS3;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 5:
|
||||||
|
LOG_WARN("unimplemented: flash");
|
||||||
|
break;
|
||||||
|
|
||||||
case 12:
|
case 12:
|
||||||
LOG_WARN("unimplemented: cursor blinking");
|
LOG_WARN("unimplemented: cursor blinking");
|
||||||
break;
|
break;
|
||||||
|
|
@ -543,6 +547,18 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
||||||
LOG_WARN("unimplemented: civis");
|
LOG_WARN("unimplemented: civis");
|
||||||
break;
|
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:
|
case 1049:
|
||||||
if (term->grid.cells != term->grid.alt_grid) {
|
if (term->grid.cells != term->grid.alt_grid) {
|
||||||
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;
|
term->decckm = DECCKM_CSI;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 5:
|
||||||
|
LOG_WARN("unimplemented: flash");
|
||||||
|
break;
|
||||||
|
|
||||||
case 12:
|
case 12:
|
||||||
LOG_WARN("unimplemented: cursor blinking");
|
LOG_WARN("unimplemented: cursor blinking");
|
||||||
break;
|
break;
|
||||||
|
|
@ -584,6 +604,18 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
||||||
LOG_WARN("unimplemented: civis");
|
LOG_WARN("unimplemented: civis");
|
||||||
break;
|
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:
|
case 1049:
|
||||||
if (term->grid.cells == term->grid.alt_grid) {
|
if (term->grid.cells == term->grid.alt_grid) {
|
||||||
term->grid.cells = term->grid.normal_grid;
|
term->grid.cells = term->grid.normal_grid;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue