Skip to content
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

Fix line wrapping in patch_stdout on Windows. #1827

Merged

Conversation

jonathanslenders
Copy link
Member

Enable autowrap before writing data to the output in patch_stdout. We enable/disable VT terminal processing during every flush() of the Windows Output implementation, but it turns out that this causes the autowrap flag to be reset each time. Because of this, we have to enable autowrap each time before writing.

Enable autowrap before writing data to the output in `patch_stdout`. We
enable/disable VT terminal processing during every `flush()` of the Windows
Output implementation, but it turns out that this causes the autowrap flag to
be reset each time. Because of this, we have to enable autowrap each time
before writing.
@jonathanslenders jonathanslenders force-pushed the 1826-fix-autowrap-patch-stdout-windows-issue branch from a9094e0 to 6942915 Compare December 8, 2023 16:03
@jonathanslenders jonathanslenders merged commit 55cde3e into master Dec 8, 2023
12 checks passed
@jonathanslenders jonathanslenders deleted the 1826-fix-autowrap-patch-stdout-windows-issue branch December 8, 2023 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant