mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05: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;
|
||||
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue