From 722c2e7ed2c233a59887cf348854102594e4f89e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Mon, 24 Jun 2019 20:01:12 +0200 Subject: [PATCH] csi: recognize a bunch of ?h/l commands, log unimplemented --- csi.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/csi.c b/csi.c index 136a2afe..86389ea7 100644 --- a/csi.c +++ b/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;