tags:

views:

70

answers:

1

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?

+1  A: 

One way would be to install a POSIX-layer like MinGW or Cygwin and add -Djline.terminal=jline.UnixTerminal as a parameter to java to your sbt startup script.

I do not know if JLine supports colored output on Windows natively though.

Moritz