-
Notifications
You must be signed in to change notification settings - Fork 491
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
$PSStyle.Progress.View = Minimal on some terminal types when there is output #3690
Comments
@andschwa Can you please take a look and see if this should be transferred to PSES repo? |
@daxian-dbw I'm starting to wonder if it is a PSES issue with things that move the cursor, rather than an issue with the the cursor movements that PSStyle is calling for. |
I observe different but equally disturbing behavior by running your repro script in the VSCode integrated console (PSES 2021.11.0). As is shown below, the last progress bar lingers around and prompt is not working well afterwards. Even The same works fine in the default PowerShell terminal (not the integrated console comes with PSES). |
Unsure if the original problem is related, but what @daxian-dbw describes is due to a missing piece in the host impl described here. |
@jhoneill is this issue fixed in our latest release? |
@SydneyhSmith Yes ! :-) I'll close the issue |
Awesome news, thanks @jhoneill! |
Prerequisites
Steps to reproduce
On 7.2 make sure you have
PSStyle.Progress.View
= set tominimal.
On (e.g) Windows terminal this works as I would expect, Multiples of 20 are output and the progress bar shifts below them I can output more than a screenful and the progress remains below my output, all good.
In (e.g) the PowerShell integrated console in VS code the moving progress bar leaves past versions behind and obscures the output
Expected behavior
See Screen shot 1
Actual behavior
See screen shot 2
Error details
n/a
Environment data
Visuals
1 After working correctly
2 Failing
The text was updated successfully, but these errors were encountered: