Closed demonguy closed 2 years ago
You need to reply to this sequence, "CSI Ps c Send Device Attributes (Primary DA)." https://gist.github.com/justinmk/a5102f9a0c1810437885a04a07ef0a91#file-xterm-control-sequences-txt-L356
Test it yourself in shell printf "\033[c"
, or python repl, print('\033[c')
. My terminal replies "\033[?62;4c" which means "VT420 with Sixel graphics"
That's new to me. Thanks
My company has a ssh server, which would return QR code (by sending unicode and color escape), show in screenshot.
the intact output of ssh session is in the attachment
ssh_output.log
However if i tried to use ptyprocess to read it , it just read the first 3 bytes and then hangs forever.
Why would this happen and how can i solve it?