kolint / next

Modern toolchain for enhancing usage of Knockout.js
https://kolint.github.io/next/
MIT License
1 stars 0 forks source link

Do not colour the output when redirected #39

Closed ondrejmirtes closed 3 months ago

ondrejmirtes commented 3 months ago

When I redirect the output through | or to a file with >, it still contains Bash color marks. Could this be disabled? (while keeping the colors during normal output)

I regularly color output of PHP console applications using symfony/console, and it also disables the coloring when redirected, so it should be possible to detect and do this automatically.