mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-28 07:58:00 -04:00
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).
This commit is contained in:
parent
2c99f692b3
commit
612bf9ef4f
1 changed files with 1 additions and 1 deletions
2
csi.c
2
csi.c
|
|
@ -353,7 +353,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
||||||
* - 28 Rectangular editing.
|
* - 28 Rectangular editing.
|
||||||
* - 29 ANSI text locator (i.e., DEC Locator mode).
|
* - 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));
|
term_to_slave(term, reply, strlen(reply));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue