mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
send CSI>q query, necessary for picking up wezterm DCS #1759
This commit is contained in:
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…
Reference in New Issue
Block a user