You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default input color (of type command) in PowerShell is yellow. Obviously this is unreadable inside the integrated terminal when using a light theme.
The color may be changed by
Set-PSReadlineOption -TokenKind Command -ForegroundColor Black
however, this does not yield the expected result: Commands seem to be "hidden" (invisible, indeed). Instead, with
Set-PSReadlineOption -TokenKind Command -ForegroundColor White
the typed command is shown as (somewhat bold!) black.
So it seems white and black are (kind of) reversed.
While blue and green are not correct as well (in some themes), this may depend on the actual theme. However, black and white are wrong in lots of light themes, so I would assume it's a bug. Sorry if I'm wrong...
The text was updated successfully, but these errors were encountered:
I think this is as designed as AFAIK it's the default for powershell (was it not designed to ever show on a light terminal?) and themes are meant to provide enough contrast to make out yellow on white.
The real problem for me wasn't the yellow characters, but instead that White is bold black, and Black is invisible. But DarkGray is dark gray (what I'm using now).
Nevertheless, that PSReadline related discussion is interesting - for some reason I had only looked for issues in PowerShell archives.
The default input color (of type command) in PowerShell is yellow. Obviously this is unreadable inside the integrated terminal when using a light theme.
The color may be changed by
Set-PSReadlineOption -TokenKind Command -ForegroundColor Black
however, this does not yield the expected result: Commands seem to be "hidden" (invisible, indeed). Instead, with
Set-PSReadlineOption -TokenKind Command -ForegroundColor White
the typed command is shown as (somewhat bold!) black.
So it seems white and black are (kind of) reversed.
While blue and green are not correct as well (in some themes), this may depend on the actual theme. However, black and white are wrong in lots of light themes, so I would assume it's a bug. Sorry if I'm wrong...
The text was updated successfully, but these errors were encountered: