Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Detect Mintty for color support on Windows#15915
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Mintty is now the default terminal in GitBash, and it supports ANSIcolors without the need of ANSICON (it even supports 256 colors ratherthan the 16 colors supported by ANSICON).
stof commentedSep 26, 2015
Note that Mintty is used in Cygwin, so this would mean that Cygwin users get colored output for free now, without the need to use a second tool handling colors just to make the color support detected (or to pass |
fabpot commentedSep 27, 2015
Sounds like a bug to me, should be merged in 2.3 instead. |
xabbuh commentedSep 27, 2015
👍 (also to merge this into the |
xabbuh commentedSep 27, 2015
Status: Reviewed |
fabpot commentedSep 27, 2015
Thank you@stof. |
This PR was submitted for the 2.8 branch but it was merged into the 2.3 branch instead (closes#5726).Discussion----------Document the support of Mintty for colors| Q | A| ------------- | ---| Doc fix? | no| New docs? | yessymfony/symfony#15915| Applies to | 2.8+ (or 2.3+ depending on where it gets merged)| Fixed tickets | n/aCommits-------d8d4345 Document the support of Mintty for colors
Mintty is now the default terminal in GitBash, and it supports ANSI colors without the need of ANSICON (it even supports 256 colors rather than the 16 colors supported by ANSICON).
I submitted it to 2.8 as it can be considered as a new feature. But it should not be hard to merge it in other branches if we decide to consider it as a bugfix (it just needs to be split because VarDumper does not exist in 2.3)