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

Disable colouring while piping #25

Closed
jikkujose opened this issue May 25, 2015 · 2 comments
Closed

Disable colouring while piping #25

jikkujose opened this issue May 25, 2015 · 2 comments

Comments

@jikkujose
Copy link

I think its sort of standard to avoid colour while the output is passed to a pipe. It helps in further processing of the data. I understand it may be handy while piping to less or so. But most of the time, its better to be avoided.

Perhaps provide a flag and disable in by default.

@owenthereal
Copy link
Owner

@jikkujose This is implemented in the latest master: #24 where by default it doesn't output color when the output is not a terminal. There're also options to always enable or disable coloring. Is this what you're looking for?

@jikkujose
Copy link
Author

Yes! Thanks!

On 26 May 2015 at 00:38, Jingwen Owen Ou notifications@github.com wrote:

@jikkujose https://github.com/JikkuJose This is implemented in the
latest master: #24 #24 where by
default it doesn't output color when the output is not a terminal. There're
also options to always enable or disable coloring. Is this what you're
looking for?


Reply to this email directly or view it on GitHub
#25 (comment).

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

2 participants