send CSI>q query, necessary for picking up wezterm DCS #1759

pull/1764/head
nick black 3 years ago committed by Nick Black
parent 41231800c6
commit f6405ca051

@ -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;
}

Loading…
Cancel
Save