Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get color coded console output from SBT on Windows?

Tags:

windows

scala

sbt

I'm using SBT (Simple Build Tool) to build my Scala projects on Windows. I've seen that one of my friends, that runs OSX, gets color coded output in his terminal windows when running SBT, but mine is just the same color everywhere. Is there any way to enable this for Windows?

like image 428
mranders Avatar asked Sep 02 '10 18:09

mranders


1 Answers

For DOS shell, check out ansicon

  • download page
  • type in the DOS shell:
   ansicon -i

(If the above links don't work too well, aeracode mentiones in the comments this address)

alt text

(this picture is not from a sbt session but illustrates colors within a DOS session)

like image 164
VonC Avatar answered Oct 11 '22 23:10

VonC