You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #52940 [Console] Fix color support check on non-Windows platforms (theofidry)
This PR was merged into the 5.4 branch.
Discussion
----------
[Console] Fix color support check on non-Windows platforms
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fix#45917
| License | MIT
Currently checking the color support based on `ANSICON`, `ConEmuANSI=ON` or `TERM=xTerm` is done only for Widows. I could not find any reason as to why and it does not make much sense as it is. Especially if we consider that `TERM=xTerm` is a term check and we do another one (not Widows specific) which is `TERM_PROGRAM=Hyper`.
This potentially fixes#45917.
This also looks more in line with the intent (based on the title) of #27831 and #27794.
Commits
-------
285518d detect colors on not windows
0 commit comments