Skip to content

Reset progress messages at end of REPL #1719

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

Merged
merged 1 commit into from
Feb 23, 2022
Merged

Conversation

andyleejordan
Copy link
Member

This seems to work. We needed to hold onto processed progress records,
and then at the end of the REPL mark each as completed and re-write it
(which uses the underlying host and effectively clears it).

Fixes PowerShell/vscode-powershell#3807

@andyleejordan andyleejordan force-pushed the andschwa/reset-progress branch 2 times, most recently from bd602e5 to f476ef3 Compare February 22, 2022 22:45
This seems to work. We needed to hold onto processed progress records,
and then at the end of the REPL mark each as completed and re-write it
(which uses the underlying host and effectively clears it).
@andyleejordan andyleejordan force-pushed the andschwa/reset-progress branch from f476ef3 to dcf7422 Compare February 22, 2022 22:47
@andyleejordan
Copy link
Member Author

This seems to be working now, and it's very close to how it was 😂

Copy link
Collaborator

@SeeminglyScience SeeminglyScience left a comment

Choose a reason for hiding this comment

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

LGTM

@andyleejordan andyleejordan merged commit 3fa3443 into master Feb 23, 2022
@andyleejordan andyleejordan deleted the andschwa/reset-progress branch February 23, 2022 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Write-Progress not cleaned up unless -Complete is explicitly specified
2 participants