Powershell Write-Progress flicker when text scrolls underneath #10914

Closed
opened 2026-01-31 02:33:32 +00:00 by claunia · 3 comments
Owner

Originally created by @ghost on GitHub (Oct 6, 2020).

Environment

Platform ServicePack Version      VersionString
-------- ----------- -------      -------------
 Win32NT             10.0.18363.0 Microsoft Windows NT 10.0.18363.0

Windows Terminal version (if applicable): 1.3.200921001-release1.3

Any other software? Powershell 5.1, pwsh 7.0.3, and cmd.exe loading pwsh 7.0.3.

Steps to reproduce

Powershell:

1..50|%{Write-Progress "Looping"; $_; start-sleep -Milliseconds 50}

Expected behavior

Powershell's Write-Progress bar remains solid above the top few lines of output. From Windows Powershell natively:
PowershellNoFlicker

Actual behavior

The progress bar flickers while output scrolls underneath it.
TerminalFlicker

Originally created by @ghost on GitHub (Oct 6, 2020). # Environment ```none Platform ServicePack Version VersionString -------- ----------- ------- ------------- Win32NT 10.0.18363.0 Microsoft Windows NT 10.0.18363.0 Windows Terminal version (if applicable): 1.3.200921001-release1.3 Any other software? Powershell 5.1, pwsh 7.0.3, and cmd.exe loading pwsh 7.0.3. ``` # Steps to reproduce Powershell: ```powershell 1..50|%{Write-Progress "Looping"; $_; start-sleep -Milliseconds 50} ``` # Expected behavior Powershell's Write-Progress bar remains solid above the top few lines of output. From Windows Powershell natively: ![PowershellNoFlicker](https://user-images.githubusercontent.com/47949180/95221829-79496a80-07bd-11eb-83e8-674889ac0bc1.gif) # Actual behavior The progress bar flickers while output scrolls underneath it. ![TerminalFlicker](https://user-images.githubusercontent.com/47949180/95221012-a47f8a00-07bc-11eb-9cb2-978262356d4a.gif)
claunia added the Resolution-ExternalNeeds-Tag-Fix labels 2026-01-31 02:33:33 +00:00
Author
Owner

@LuanVSO commented on GitHub (Oct 7, 2020):

PowerShell 7 flickers on conhost too

@LuanVSO commented on GitHub (Oct 7, 2020): PowerShell 7 flickers on conhost too
Author
Owner

@DHowett commented on GitHub (Oct 9, 2020):

Yes, this happens without Terminal as well. PowerShell (dubiously) backs up and redraws the content of the screen when displaying progress.

This looks like it's tracked in /dup https://github.com/PowerShell/PowerShell/issues/3366

@DHowett commented on GitHub (Oct 9, 2020): Yes, this happens without Terminal as well. PowerShell (dubiously) backs up and redraws the content of the screen when displaying progress. This looks like it's tracked in /dup https://github.com/PowerShell/PowerShell/issues/3366
Author
Owner

@ghost commented on GitHub (Oct 9, 2020):

Hi! We've identified this issue as a duplicate of one that exists on somebody else's Issue Tracker. Please make sure you subscribe to the referenced external issue for future updates. Thanks for your report!

@ghost commented on GitHub (Oct 9, 2020): Hi! We've identified this issue as a duplicate of one that exists on somebody else's Issue Tracker. Please make sure you subscribe to the referenced external issue for future updates. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10914