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 84ca41a commit 3cdb34cCopy full SHA for 3cdb34c
Output/StreamOutput.php
@@ -90,7 +90,7 @@ protected function hasColorSupport()
90
{
91
if (DIRECTORY_SEPARATOR === '\\') {
92
return
93
- function_exists('sapi_windows_vt100_support') && sapi_windows_vt100_support($this->stream)
+ function_exists('sapi_windows_vt100_support') && @sapi_windows_vt100_support($this->stream)
94
|| '10.0.10586' === PHP_WINDOWS_VERSION_MAJOR.'.'.PHP_WINDOWS_VERSION_MINOR.'.'.PHP_WINDOWS_VERSION_BUILD
95
|| false !== getenv('ANSICON')
96
|| 'ON' === getenv('ConEmuANSI')
0 commit comments