Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

call isatty on stdout before colouring output #4

Open
dpk opened this issue Sep 28, 2015 · 0 comments
Open

call isatty on stdout before colouring output #4

dpk opened this issue Sep 28, 2015 · 0 comments

Comments

@dpk
Copy link

dpk commented Sep 28, 2015

Sometimes it might be useful to get output from the build command. Colour makes it difficult to parse. Most well-behaved tools (like grep on certain systems) will only colour by default if the output stream is a terminal (see isatty(3) on your favourite Unix).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant