rlisagor / freshen

Clone of the Cucumber BDD framework for Python
GNU General Public License v3.0
354 stars 56 forks source link

freshen should check whether terminal supports colors before colorizing output #28

Closed ghost closed 13 years ago

ghost commented 13 years ago

I'm using freshen with PyDev (and it's nice nose support). The problem is that PyDev is eclipse based and eclipse's terminal doesn't support colors. The following fix will check for the terminal's capability to deal with colors before colorizing output.

ghost commented 13 years ago

Only the third commit is the right one. The other two went in by accident.

ghost commented 13 years ago

Anyone knows how to make this work on Windows? I think curses is *nix only, right?