mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05: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;
|
||||
}
|
||||
|
||||
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:
|
||||
LOG_ERR("unimplemented: %s", csi_as_string(term, final));
|
||||
abort();
|
||||
|
|
@ -639,6 +629,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
|||
break;
|
||||
|
||||
case 5:
|
||||
LOG_INFO("REVERSE");
|
||||
term->reverse = true;
|
||||
term_damage_all(term);
|
||||
break;
|
||||
|
|
@ -735,6 +726,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
|||
break;
|
||||
|
||||
case 5:
|
||||
LOG_INFO("REVERSE BACK");
|
||||
term->reverse = false;
|
||||
term_damage_all(term);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue