mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-20 17:18:51 +02:00
N°5809 Update Symfony artifacts from 6.4.0 to 6.4.2
symfony/console symfony/dotenv symfony/framework-bundle symfony/http-foundation symfony/http-kernel symfony/var-dumper symfony/web-profiler-bundle
This commit is contained in:
@@ -97,18 +97,17 @@ class StreamOutput extends Output
|
||||
return false;
|
||||
}
|
||||
|
||||
if ('Hyper' === getenv('TERM_PROGRAM')) {
|
||||
if (\DIRECTORY_SEPARATOR === '\\'
|
||||
&& \function_exists('sapi_windows_vt100_support')
|
||||
&& @sapi_windows_vt100_support($this->stream)
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (\DIRECTORY_SEPARATOR === '\\') {
|
||||
return (\function_exists('sapi_windows_vt100_support')
|
||||
&& @sapi_windows_vt100_support($this->stream))
|
||||
|| false !== getenv('ANSICON')
|
||||
|| 'ON' === getenv('ConEmuANSI')
|
||||
|| 'xterm' === getenv('TERM');
|
||||
}
|
||||
|
||||
return stream_isatty($this->stream);
|
||||
return 'Hyper' === getenv('TERM_PROGRAM')
|
||||
|| false !== getenv('ANSICON')
|
||||
|| 'ON' === getenv('ConEmuANSI')
|
||||
|| str_starts_with((string) getenv('TERM'), 'xterm')
|
||||
|| stream_isatty($this->stream);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user