swiggy-analytics icon indicating copy to clipboard operation
swiggy-analytics copied to clipboard

ANSI Colors not rendering in Windows on cmd.exe

Open laggingreflex opened this issue 6 years ago • 0 comments

On Windows 10 cmd.exe it shows output like this:

Your spend and orders count distributed monthly:
 10   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀[93m Jun-18 [0m[91m₹2711.0[0m

Some googling tells me it might be a common problem:

https://github.com/beetbox/beets/issues/2607 https://github.com/kennethreitz/crayons/issues/4

Possible solution:

https://stackoverflow.com/questions/36760127/how-to-use-the-new-support-for-ansi-escape-sequences-in-the-windows-10-console/36760881#36760881

Awesome project BTW!

laggingreflex avatar Jan 24 '19 07:01 laggingreflex