This line over here defines an ANSI extended color set for bright color which doesn't display correctly: (by incorrectly I mean it's just bold white color)
https://github.com/visionmedia/debug/blob/5c7c61dc0df0db4eb5de25707d8cd1b9be1add4f/src/node.js#L169
It shouldn't(?) have a traling ;1 after ${colorCode}. So the line should like:
const prefix = ` ${colorCode}m${name} \u001B[0m`;
This fixes the bug (for me :) )
EDIT: This supports my observation 256 colors
Also from the article:
Note that the bright versions of the background colors do not change the background, but rather make the foreground text brighter. This is unintuitive but that's just the way it works.
and the ;1 option only applies to \u001b[44 ie background colors, while the \u001b[38 option for foreground colors does not have such thing
This line over here defines an ANSI extended color set for bright color which doesn't display correctly: (by incorrectly I mean it's just bold white color)
https://github.com/visionmedia/debug/blob/5c7c61dc0df0db4eb5de25707d8cd1b9be1add4f/src/node.js#L169
It shouldn't(?) have a traling
;1after${colorCode}. So the line should like:const prefix = ` ${colorCode}m${name} \u001B[0m`;This fixes the bug (for me :) )
EDIT: This supports my observation 256 colors
Also from the article:
and the
;1option only applies to\u001b[44ie background colors, while the\u001b[38option for foreground colors does not have such thing