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

Fixes long ouput with wrapped lines in narrow terminal crashes vscode #117734

Merged
merged 1 commit into from
Feb 26, 2021

Conversation

jeanp413
Copy link
Contributor

The endLine variable was being incremented indefinitely because getLine() wraps around the underlying circular list buffer and all the lines in the buffer have isWrapped set to true

This PR fixes #117682

Copy link
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for looking into it!

@Tyriar Tyriar merged commit d0a46a0 into microsoft:main Feb 26, 2021
@jeanp413 jeanp413 deleted the fix-117682 branch February 26, 2021 21:35
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Terminal too narrow: Output with long lines (wrapping) freezes/crashes vscode
3 participants