-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Resolution-FixedThe issue is fixed.The issue is fixed.WG-Enginecore PowerShell engine, interpreter, and runtimecore PowerShell engine, interpreter, and runtime
Milestone
Description
Steps to reproduce
On OSX
1..20 |%{ $null = Invoke-WebRequest 'https://www.google.com'; Start-Sleep -Milliseconds 250 }
Expected behavior
Progress/status is written for each request, in a static location.
Actual behavior
Progress/status appears to shift over by 3 or 4 columns after each request, leading to "drift" to the right.
This, coupled with #1625, causes significant usability issues for scripts that are doing repeated web requests, e.g. to process paginated API responses.
Impact would be lessened if there was a way to disable progress from Invoke-WebRequest but AFAIK that is not possible.
Screencap below:
Environment data
> $PSVersionTable
Name Value
---- -----
PSVersion 6.0.0-alpha
PSEdition Core
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 3.0.0.0
GitCommitId v6.0.0-alpha.16
CLRVersion
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1 Metadata
Metadata
Assignees
Labels
Resolution-FixedThe issue is fixed.The issue is fixed.WG-Enginecore PowerShell engine, interpreter, and runtimecore PowerShell engine, interpreter, and runtime
