[Powershell 5.1] Write-Progress text black #20212

Closed
opened 2026-01-31 07:06:39 +00:00 by claunia · 4 comments
Owner

Originally created by @bozho on GitHub (Jul 10, 2023).

Windows Terminal version

1.18.1462.0

Windows build number

10.0.19045.0

Other Software

No response

Steps to reproduce

Run the following snippet in PowerShell 5.1:

for ($i = 1; $i -le 100; $i++ ) {
    Write-Progress -Activity "Search in Progress" -Status "$i% Complete:" -PercentComplete $i
    Start-Sleep -Milliseconds 250
}

Expected Behavior

The progress text should be yellow by default.

Actual Behavior

The progress text is black.

The problem started with the previous 18XX preview version. It does not appear in Terminal v1.17.1023 or the old console.

Originally created by @bozho on GitHub (Jul 10, 2023). ### Windows Terminal version 1.18.1462.0 ### Windows build number 10.0.19045.0 ### Other Software _No response_ ### Steps to reproduce Run the following snippet in PowerShell 5.1: ``` for ($i = 1; $i -le 100; $i++ ) { Write-Progress -Activity "Search in Progress" -Status "$i% Complete:" -PercentComplete $i Start-Sleep -Milliseconds 250 } ``` ### Expected Behavior The progress text should be yellow by default. ### Actual Behavior The progress text is black. The problem started with the previous 18XX preview version. It does not appear in Terminal `v1.17.1023` or the old console.
claunia added the Needs-TriageIssue-BugNeeds-Attention labels 2026-01-31 07:06:39 +00:00
Author
Owner

@lhecker commented on GitHub (Jul 10, 2023):

I must be doing something wrong... It works for me:
image

@lhecker commented on GitHub (Jul 10, 2023): I must be doing something wrong... It works for me: ![image](https://github.com/microsoft/terminal/assets/2256941/0f2bca20-3cee-41f5-ae9b-617d0c52a79d)
Author
Owner

@zadjii-msft commented on GitHub (Jul 10, 2023):

Could you share your settings.json file/?

@zadjii-msft commented on GitHub (Jul 10, 2023): Could you share your [settings.json file](https://github.com/microsoft/terminal/wiki/Frequently-Asked-Questions-(FAQ)#where-can-i-find-the-settings-file)/?
Author
Owner

@bozho commented on GitHub (Jul 10, 2023):

Aha!

It seems this setting is the culprit:
image

If I set it to Never, the progress text is yellow.

Edit: The setting probably also explains why my colours changed ever so slightly after upgrading from 1.17, but I couldn't put my finger on it :-)

@bozho commented on GitHub (Jul 10, 2023): Aha! It seems this setting is the culprit: ![image](https://github.com/microsoft/terminal/assets/126446/21316789-680c-45c3-bc25-24c1173a1d0c) If I set it to `Never`, the progress text is yellow. Edit: The setting probably also explains why my colours changed ever so slightly after upgrading from 1.17, but I couldn't put my finger on it :-)
Author
Owner

@lhecker commented on GitHub (Jul 10, 2023):

Yep, the color adjustment in 1.18 is now stronger than before, turning it into an accessibility feature. It's also much closer now to how VS Code works, where the text is also black:
image

@lhecker commented on GitHub (Jul 10, 2023): Yep, the color adjustment in 1.18 is now stronger than before, turning it into an accessibility feature. It's also much closer now to how VS Code works, where the text is also black: ![image](https://github.com/microsoft/terminal/assets/2256941/6574df83-5cb6-49f0-b0ea-866a6ba646c7)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20212