-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ConPTY adds extra newlines symbols at soft-wrapped rows #15064
Comments
Thanks for the report! I suspect this is fixed in If it is fixed in If it's not fixed, well, it should be |
Ok, thanks! |
Probably not, though, our recommendation is going to be using a nuget package to ingest ConPTY. This nuget package doesn't exist yet1, but when it does, that'll let you use the latest version of ConPTY regardless of what OS version you're on. That's effectively what the Terminal does today (so that we can use ConPTY fixes even on Windows 10). I think there's other folks that have copied what we've done, but that's firmly in the "not yet officially supported" territory. Footnotes
|
addenda: now tracking that in #15065 |
Yep, we definitely already had a test for this one: terminal/src/cascadia/UnitTests_TerminalCore/ConptyRoundtripTests.cpp Lines 451 to 500 in 10c6206
So, I'll just say "fixed in the latest conpty, but that's probably not on Windows 10, so we'll need to start shipping a conpty nuget that folks can consume externally" |
Windows Terminal version
Not installed
Windows build number
10.0.19045.2788
Other Software
.NET 7.0 x64
Steps to reproduce
samples/GUIConsole.ConPTY
)powershell.exe
'a'
charachters to PTY input (as a single row)Expected Behavior
Pty output contains zero newlines symbols since only one line was sent
Actual Behavior
PTY adds extra
\n
to output turning soft-wrapping to hard-wrappingThe text was updated successfully, but these errors were encountered: