Skip to content

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

3 participants