mr-karan / swiggy-analytics

Analyse your swiggy orders 🍔
MIT License
273 stars 37 forks source link

ANSI Colors not rendering in Windows on cmd.exe #4

Open laggingreflex opened 5 years ago

laggingreflex commented 5 years ago

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

Your spend and orders count distributed monthly:
 10   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ Jun-18 ₹2711.0

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!