aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-11-18 11:41:10 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-11-18 11:41:10 +0000
commit612bf9ef4fae349dbd485a8ef4b6009bd1385627 (patch)
tree7cdfe5ba9d36cde92fd53bbb348ebea6b859d1de
parentcsi: improve "Send Device Attributes (Primary DA)" (diff)
csi: adjust reply to primary DA
Report us as being VT220, as VT420 causes vttest to send a DECRQSS. This is a DCS request that we don't implement (there's no DCS handling *at all* - all DCS strings are ignored). Should be ok as no one appears to care about this one. Other terminals report a much lower level (urxvt for example, replies with vt100. We used to reply with vt102, which also was fine).
-rw-r--r--csi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/csi.c b/csi.c
index 379fa2a4..bf5cca7b 100644
--- a/csi.c
+++ b/csi.c
@@ -353,7 +353,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
* - 28 Rectangular editing.
* - 29 ANSI text locator (i.e., DEC Locator mode).
*/
- const char *reply = "\033[?64;6;15;16;17;22;28c";
+ const char *reply = "\033[?62;6;15;17;22;28c";
term_to_slave(term, reply, strlen(reply));
break;
}