Skip to content

Check for tty before coloring - #4

Closed
egonSchiele wants to merge 3 commits into
defunkt:masterfrom
egonSchiele:patch-1
Closed

Check for tty before coloring#4
egonSchiele wants to merge 3 commits into
defunkt:masterfrom
egonSchiele:patch-1

Conversation

@egonSchiele

Copy link
Copy Markdown

This accounts for redirecting (for example for log files). So the string only gets colored if the user is going to see it, otherwise we don't color to prevent cruft in log files.

This accounts for redirecting (for example for log files). So the string only gets colored if the user is going to see it, otherwise we don't color to prevent cruft in log files.
@trollfred

Copy link
Copy Markdown

+1

@egonSchiele

Copy link
Copy Markdown
Author

closing old prs

@egonSchiele egonSchiele closed this Sep 2, 2015
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

Successfully merging this pull request may close these issues.

2 participants