8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d06a8a commit 9c09e16Copy full SHA for 9c09e16
src/Symfony/Component/Console/Output/StreamOutput.php
@@ -98,10 +98,6 @@ protected function hasColorSupport()
98
return false;
99
}
100
101
- if ('Hyper' === getenv('TERM_PROGRAM')) {
102
- return true;
103
- }
104
-
105
if (\DIRECTORY_SEPARATOR === '\\') {
106
return (\function_exists('sapi_windows_vt100_support')
107
&& @sapi_windows_vt100_support($this->stream))
@@ -110,6 +106,7 @@ protected function hasColorSupport()
110
|| 'xterm' === getenv('TERM');
111
112
108
113
- return stream_isatty($this->stream);
109
+ return 'Hyper' === getenv('TERM_PROGRAM')
+ || stream_isatty($this->stream);
114
115
0 commit comments