cppit / jucipp

A lightweight & cross-platform IDE supporting the most recent C++ standards. This project has moved to https://gitlab.com/cppit/jucipp.
https://gitlab.com/cppit/jucipp
MIT License
883 stars 98 forks source link

Console color escape codes with CMake build. #362

Open mdsitton opened 6 years ago

mdsitton commented 6 years ago

See below the output I get when building my cmake project. CMake outputs various color escapes and the build console does not look to be able to handle them, so it ends up with some garbled output at times.

output

I'd prefer color highlighting support if possible, but just adding the ability to strip out the color escape codes would be fine as well.

eidheim commented 6 years ago

The terminal is not a real tty, and normally programs do not add colour codes then. However, I've seen that on Windows that programs does not identify tty correctly and add colour codes indiscriminately. What OS are you on, and if Windows, which Posix system are you using?