BlankSpruce / gersemi

A formatter to make your CMake code the real treasure
Mozilla Public License 2.0
156 stars 8 forks source link

--color only colors output when stdout is a tty #40

Closed expipiplus1 closed 1 month ago

expipiplus1 commented 1 month ago

It would be nice to have colorful output all the time when asked for (the specific use case is for outputting in github actions).

BlankSpruce commented 1 month ago

As far as I can read colorama's doc and as far as my experiments with less -R went it's fixed in 0.17.0. I didn't test with Github Actions though so let me know if the solution is not complete.