Bug Report: Write-Host -ForegroundColor Gray Outputs White Text #2281

Open
opened 2026-01-30 22:51:23 +00:00 by claunia · 0 comments
Owner

Originally created by @RatliffCam on GitHub (Jun 26, 2019).

Environment

Windows build number: Microsoft Windows [Version 10.0.18362.175]]
Windows Terminal version (if applicable): 0.2.1715.0

Steps to reproduce

Write-Host -ForegroundColor Gray "Hello world!"

Expected behavior

The console outputs "Hello world!" as gray text

Actual behavior

The console is outputting "Hello world!" as white text

image

Originally created by @RatliffCam on GitHub (Jun 26, 2019). <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: Microsoft Windows [Version 10.0.18362.175]] Windows Terminal version (if applicable): 0.2.1715.0 ``` # Steps to reproduce Write-Host -ForegroundColor Gray "Hello world!" # Expected behavior The console outputs "Hello world!" as gray text # Actual behavior The console is outputting "Hello world!" as white text ![image](https://user-images.githubusercontent.com/45764362/60197592-a7e04380-980d-11e9-99b6-b57195d1ace9.png)
claunia added the Area-OutputIssue-BugResolution-DuplicateProduct-Conpty labels 2026-01-30 22:51:24 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#2281