-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Closed
Labels
Resolution-FixedThe issue is fixed.The issue is fixed.WG-Engine-FormatWG-Interactive-Consolethe console experiencethe console experience
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
- Refer to the FAQ.
- Refer to Differences between Windows PowerShell 5.1 and PowerShell.
Steps to reproduce
When $ErrorView is set to NormalView (or CategoryView), error text color changes from red to white. When checking the current value of $Host.PrivateData.ErrorForegroundColor it reports Red. It is possible to change the variable value but it has no effect in NormalView and CategoryView.
In ConciseView everything works as expected.
Expected behavior
Error text color should be the same as the $Host.PrivateData.ErrorForegroundColor value.Actual behavior
Error text color is white whatever color you set to $Host.PrivateData.ErrorForegroundColor.Error details
No response
Environment data
Name Value
---- -----
PSVersion 7.2.1
PSEdition Core
GitCommitId 7.2.1
OS Microsoft Windows 10.0.19043
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0Visuals
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Resolution-FixedThe issue is fixed.The issue is fixed.WG-Engine-FormatWG-Interactive-Consolethe console experiencethe console experience

