From f6405ca05190e0c62fa88eb801c903168001e209 Mon Sep 17 00:00:00 2001 From: nick black Date: Sat, 12 Jun 2021 14:11:34 -0400 Subject: [PATCH] send CSI>q query, necessary for picking up wezterm DCS #1759 --- src/lib/termdesc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/termdesc.c b/src/lib/termdesc.c index ae8a21c9b..eb3278bcc 100644 --- a/src/lib/termdesc.c +++ b/src/lib/termdesc.c @@ -237,7 +237,7 @@ query_sixel_details(tinfo* ti, int fd){ // and geometry. send XTGETTCAP for terminal name. static int send_initial_queries(int fd){ - const char queries[] = "\x1b[=0c\x1b[>c\x1bP+q544e\x1b\\\x1b[?1;3;256S\x1b[?2;1;0S\x1b[?1;1;0S" ESC_DA; + const char queries[] = "\x1b[=0c\x1b[>c\x1b[>q\x1bP+q544e\x1b\\\x1b[?1;3;256S\x1b[?2;1;0S\x1b[?1;1;0S" ESC_DA; if(blocking_write(fd, queries, strlen(queries))){ return -1; }