podusowski / pake

Friendly C++ build system which doesn't follow trends
2 stars 1 forks source link

Unable to disable output coloring. #8

Open Quasek opened 9 years ago

Quasek commented 9 years ago

Windows cmd line is not interpreting color markers. Is there a way to disable coloring?

podusowski commented 9 years ago

We need tty condition in ui module which sets ansi sequences only when appropriate. This might be useful: http://stackoverflow.com/questions/7445658/how-to-detect-if-the-console-does-support-ansi-escape-codes-in-python

Quasek commented 9 years ago

Problem still persists: http://i.imgur.com/biGaCpZ.png

Quasek commented 9 years ago

http://i.imgur.com/vKH5Fkj.png

Quasek commented 9 years ago

Consider using https://github.com/tartley/colorama