Forum Discussion

preuley30's avatar
preuley30
Brass Contributor
Apr 13, 2022

PowerShell Colors for Operator & Parameter

Hi all

I have some weird behavior here.

When I work with PowerShell 7 over the Windows Console Host, the Operator and Parameter color are completely black, and I can't see them when I type an Operator or Parameter.

When I work with PS7 over the Windows Terminal, the Operator and Parameter are visible.

Both windows have the same background color (0c0c0c) and I copied the value from the Windows Console Host PS7, to make sure it has the same value as the window from the Windows Terminal PS7.

 

Has anyone a fix/explanation for this? Thanks. 🙂

 

  • I did have an issue with Windows 11 themes in which coloring was weird, does it change when you change your Windows theme to something light instead of dark?
    • preuley30's avatar
      preuley30
      Brass Contributor
      Hi, thanks for your reply.
      I've tested the behavior with light mode on, but it changed nothing 😕
      • Running pwsh -noprofile doesn't change anything? (Just to rule out profile issues)

Resources