Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #52941 [Console] Fix xterm detection (theofidry)
This PR was merged into the 5.4 branch. Discussion ---------- [Console] Fix xterm detection | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | None reported | License | MIT Currently `StreamOutput::hasColorSupport()` returns `true` if `TERM=xterm`. However xterm may have different values such as `xterm-256color`. Technically I think it would be more correct to check `xterm` or starts with `xterm-`, but I am not convinced there is a need to do so and one may prefer the (tiny) performance advantage? This can easily be changed though. Commits ------- 109c088 fix xterm detection
- Loading branch information