-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
only enable colors when output to a terminal (not to a file) #1458
only enable colors when output to a terminal (not to a file) #1458
Conversation
only enable colors when output to a terminal (not to a file)
Thanks :) |
@sebastianbergmann I'm -1 for this, it doesn't work reliably. For example the jenkins console supports colours using a plugin and not natively. If people want to turn colours on, let them turn them on rather than saying they can't |
I like this. Very hepful on windows. It means I don't need to keep modifying my config each time I clone a repo. |
Also it's useful if you want to pipe the output. |
I also think this is affecting part of this user's problem #1523
|
That's unlikely. |
Why not handle this in the same way
And have it default to "none". |
I was thinking about the same thing @jbladen. |
@jbladen great idea |
Looks like this commit breaks colors display when running on windows in cygwin terminal |
@Fludimir Lots of things have changed since this. |
May be, but after update from phpunit 4.3.5 to 4.4.1 colors aren't displayed in console and probably no way to display it. |
Yeh, try out phpunit alpha, 4.6.x. It's got the new behaviour in. |
Tried, works only with --colors=always in console. So the only way to display colors in cygwin console will be to manually add this option each run? |
No description provided.