colors.js icon indicating copy to clipboard operation
colors.js copied to clipboard

bgYellow shows all white in PowerShell on Windows 10

Open js1016 opened this issue 7 years ago • 2 comments

Following code can reproduce the issue in PowerShell on Windows 10

var colors  = require('colors');
console.log('test'.bgRed); // it works as expected
console.log('test'.bgYellow); // the background is all white in powershell

js1016 avatar Apr 19 '17 23:04 js1016

Yellow color seems to be represent bold font in PS.

frousselet avatar Jun 09 '17 11:06 frousselet

Foreground yellow is also white, while magenta appears blue (and so invisible on the default blue background, but you can see it in blue if you change the background colour).

cumpstey avatar Jun 22 '19 07:06 cumpstey