aboutsummaryrefslogtreecommitdiff
path: root/csi.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-24 15:46:18 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-24 15:46:18 +0000
commitcc60d3a6701d2266eda30bdad6cebc67d05bcc0e (patch)
tree1bc6066d1d75aac72fc2a3962b416842709cceb5 /csi.c
parentchangelog: add new 'unreleased' section (diff)
csi: primary DA: remove features we do not support
We do not implement * Selective Erase * Technical Character Set * Terminal state interrogation
Diffstat (limited to 'csi.c')
-rw-r--r--csi.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/csi.c b/csi.c
index fe102ada..044c6e3f 100644
--- a/csi.c
+++ b/csi.c
@@ -373,8 +373,17 @@ csi_dispatch(struct terminal *term, uint8_t final)
* - 22 ANSI color, e.g., VT525.
* - 28 Rectangular editing.
* - 29 ANSI text locator (i.e., DEC Locator mode).
+ *
+ * Note: we report ourselves as a VT220, mainly to be able
+ * to pass parameters, to indiciate we support sixel, and
+ * ANSI colors.
+ *
+ * The VT level must be synchronized with the secondary DA
+ * response.
+ *
+ * Note: tertiary DA responds with "FOOT".
*/
- const char *reply = "\033[?62;4;6;15;17;22c";
+ const char *reply = "\033[?62;4;22c";
term_to_slave(term, reply, strlen(reply));
break;
}