Skip to content

Progressbar messes up display if the cursor originally wasn't left most (x=0) - #3453

Merged
Jason Shirk (lzybkr) merged 1 commit into
PowerShell:masterfrom
SteveL-MSFT:helpscroll
Mar 31, 2017
Merged

Progressbar messes up display if the cursor originally wasn't left most (x=0)#3453
Jason Shirk (lzybkr) merged 1 commit into
PowerShell:masterfrom
SteveL-MSFT:helpscroll

Conversation

@SteveL-MSFT

Copy link
Copy Markdown
Member

When the output is being formatted as a table, for example, the cursor ends up at the right most side rather than the left which causes progress to be calculated incorrectly.

Addresses #3419

…on the left edge (like when tables are being output)
@SteveL-MSFT

Copy link
Copy Markdown
Member Author

Jason Shirk (@lzybkr) can you take a look? thanks!

@lzybkr
Jason Shirk (lzybkr) merged commit 2cfe3d5 into PowerShell:master Mar 31, 2017
@SteveL-MSFT
Steve Lee (SteveL-MSFT) deleted the helpscroll branch June 19, 2017 21:16
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj/PowerShell that referenced this pull request Aug 6, 2026
Fix by saving the cursor position, displaying the progress, and restoring the cursor back to the original position so normal formatting (e.g. table output) can continue.

Closes PowerShell#3453.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants