You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the last change for #2647 is causing problems when I'm testing with WSL/Windows Terminal.
I'm working with Windows 11 24H2 and installed Ubuntu 24.04 WSL. Using Windows Terminal, I start a shell in ubuntu and run my program. Sometimes it works and other times it stalls out. Tracing things through, the DA1 response is getting split across two read() calls. The first call returns 16 bytes with \e[?61;6;7;14;21;. Since the c terminator did not come through, process_escape() returns with -16 and midescape set to 1. But, then process_melange() hits the || *bufused == origlencondition and clears themidescape` and the bytes there are treated as regular input. Since the DA1 response never comes through, initialization stalls out.
I think the last change for #2647 is causing problems when I'm testing with WSL/Windows Terminal.
I'm working with Windows 11 24H2 and installed Ubuntu 24.04 WSL. Using Windows Terminal, I start a shell in ubuntu and run my program. Sometimes it works and other times it stalls out. Tracing things through, the DA1 response is getting split across two
read()
calls. The first call returns 16 bytes with\e[?61;6;7;14;21;
. Since thec
terminator did not come through,process_escape()
returns with-16
andmidescape
set to 1. But, thenprocess_melange()
hits the|| *bufused
== origlencondition and clears the
midescape` and the bytes there are treated as regular input. Since the DA1 response never comes through, initialization stalls out.The relevant change:
c888217#diff-b7dbcafb0f8345e04cd585f962cdc2d12c9e79b68e13fe6099aeece3b785ce2bL2300-R2301
The text was updated successfully, but these errors were encountered: