Colorful.Console icon indicating copy to clipboard operation
Colorful.Console copied to clipboard

New colors are updating existing colors in Windows Command Prompt

Open kirk-marple opened this issue 5 years ago • 2 comments

Running Windows 10, in standard Command Prompt.

Using .NET Core 3.1 app, and simply using: Console.WriteLine("text", Color.ForestGreen); Console.WriteLine("text", Color.Red);

The first time I run my console app, it prints the JSON in green. original-colors

But if I run a different command which gives an error, and writes "ERROR:" in red, it changes the green to red as well. bad-colors

I've looked through the issues and can't find a report of anything similar. I've tried with different colors, and it doesn't seem to make a difference.

kirk-marple avatar Feb 03 '20 08:02 kirk-marple

I too noticed this. It seems to happen with red and orange colors.

netmonster01 avatar Feb 06 '20 15:02 netmonster01

see #64

mitchcapper avatar Oct 09 '20 09:10 mitchcapper