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

Copy link
Contributor

@jeanp413 jeanp413 commented Feb 26, 2021

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

Thanks for looking into it!

@Tyriar Tyriar merged commit d0a46a0 into microsoft:main Feb 26, 2021
7 checks passed
@jeanp413 jeanp413 deleted the fix-117682 branch Feb 26, 2021
@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.

3 participants