Sends the OSC 11 and DA1 queries and reads the answers in raw mode.
Terminals answer in order, so the DA1 reply comes last: once it arrives no
more bytes are coming. A terminal without OSC 11 support only sends the DA1
reply. Stdin is always restored before the promise resolves.
Sends the OSC 11 and DA1 queries and reads the answers in raw mode. Terminals answer in order, so the DA1 reply comes last: once it arrives no more bytes are coming. A terminal without OSC 11 support only sends the DA1 reply. Stdin is always restored before the promise resolves.