-
Notifications
You must be signed in to change notification settings - Fork 174
Open
Description
It looks like the color mappings in this repo between powershell's colors and ansi color codes do not match those used by powershell's virtual terminal system.
For example, when Write-Host -ForegroundColor Magenta "test" is executed, powershell's virtual terminal emits ESC[35;1mtest (also known as brmagenta or High Intensity Magenta). The mapping in the readme file and code lists the mapping as: magenta -> magenta.
Below are the correct mappings in full:
| termcol | Powershell |
|---|---|
| black | Black |
| red | DarkRed |
| green | DarkGreen |
| yellow | DarkYellow |
| blue | DarkBlue |
| magenta | DarkMagenta |
| cyan | DarkCyan |
| white | DarkWhite |
| brblack | DarkGray |
| brred | Red |
| brgreen | Green |
| bryellow | Yellow |
| brblue | Blue |
| brmagenta | Magenta |
| brcyan | Cyan |
| brwhite | White |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels