aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-21 16:41:22 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-21 16:41:22 +0000
commit1ff04c5e36f4f5458e9d2ca7aec1d71694c6fe11 (patch)
tree1b28a46efd030cc0599679a9a7e8cbebd888f953
parentdcs: we have no parent terminal to pass through to (diff)
csi: remove erronous final
-rw-r--r--csi.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/csi.c b/csi.c
index 067ecf4a..12579c27 100644
--- a/csi.c
+++ b/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;