dgarlitt / karma-nyan-reporter

Nyan Cat style reporter based on the Mocha version
MIT License
169 stars 19 forks source link

Issue with display in Windows #14

Closed tgoyer closed 9 years ago

tgoyer commented 9 years ago

This reporter works great. However, there's a minor display glitch with the rainbow in Windows. It's not displaying the pleasing Nyan Cat rainbow that you nice folks running on a Mac get. :rainbow:

We want some Nyan Cat love, too! :+1:

Here's what we see:

capture

dgarlitt commented 9 years ago

@tgoyer - everyone deserves Nyan Cat love. Is your screenshot a standard Windows command prompt or is it something else like MinGW/GitBash or Cygwin?

tgoyer commented 9 years ago

That is the standard Windows command prompt, although I tested it in ConEmu and got the same result.

dgarlitt commented 9 years ago

@tgoyer I looked into the issue a little bit and it turns out that the Windows command prompt doesn't support a 256 color mode. It looks like there is a way to enable it in Cygwin, though.

tgoyer commented 9 years ago

Ahh.. bummer. I guess no nice Nyan Cat love for us then. :disappointed:

Maybe Windows 10 has that mode? :+1: (Not holding my breath!) Heh.

Tokimon commented 7 years ago

I can confirm that Windows 10 doesn't support it either :'(

dgarlitt commented 7 years ago

@tgoyer & @Tokimon - I just ran across this article, perhaps there is hope: https://blogs.msdn.microsoft.com/commandline/2016/09/22/24-bit-color-in-the-windows-console/

Not sure if you have to enable it or if was part of a patch, but it should work.

Tokimon commented 7 years ago

@dgarlitt Yeah I saw that as well, but it doesn't seem to have been released yet. But when it does it could be nice to check if it works as expected :)

Just as a side note, I made a correction to the tap-nyan cat to display ANSII colors so at least it displays some correct colors, so that could be an idea to integrate.

abdulhannanali commented 7 years ago

I HATE WINDOWS