VtEngine: Console-style (undelayed) line wraps results in \r\n #16461
Labels
Area-Rendering
Text rendering, emoji, complex glyph & font-fallback issues
In-PR
This issue has a related PR
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Tag-Fix
Doesn't match tag requirements
Priority-2
A description (P2)
Product-Conpty
For console issues specifically related to conpty
Milestone
Windows Terminal version
1.16.230126001
Windows build number
No response
Other Software
No response
Steps to reproduce
Expected Behavior
Clipboard contains 1 line of text without line wraps.
Actual Behavior
The clipboard is line wrapped at the right margin.
XtermEngine::_MoveCursor
is called 3 times during the forced line wrap. When I type a single "a" at the end of the prompt, this results in 3 cursor movement sequences in total and the character being printed twice:I'm setting this to P2 because this bug has probably existed since the beginning. There might be a duplicate already.
The text was updated successfully, but these errors were encountered: