mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-09 05:33:58 -04:00
csi: remove erronous final
This commit is contained in:
parent
2096753b52
commit
1ff04c5e36
1 changed files with 2 additions and 10 deletions
12
csi.c
12
csi.c
|
|
@ -610,16 +610,6 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case '=':
|
|
||||||
/*
|
|
||||||
* TODO: xterm's terminfo specifies *both* \e[?1h *and*
|
|
||||||
* \e= in smkx, but only one is necessary. We should
|
|
||||||
* provide our own terminfo with *only* \e[?1h (and \e[?1l
|
|
||||||
* for rmkx)
|
|
||||||
*/
|
|
||||||
LOG_WARN("ignoring CSI with final '='");
|
|
||||||
break;
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
LOG_ERR("unimplemented: %s", csi_as_string(term, final));
|
LOG_ERR("unimplemented: %s", csi_as_string(term, final));
|
||||||
abort();
|
abort();
|
||||||
|
|
@ -639,6 +629,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 5:
|
case 5:
|
||||||
|
LOG_INFO("REVERSE");
|
||||||
term->reverse = true;
|
term->reverse = true;
|
||||||
term_damage_all(term);
|
term_damage_all(term);
|
||||||
break;
|
break;
|
||||||
|
|
@ -735,6 +726,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 5:
|
case 5:
|
||||||
|
LOG_INFO("REVERSE BACK");
|
||||||
term->reverse = false;
|
term->reverse = false;
|
||||||
term_damage_all(term);
|
term_damage_all(term);
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue