Thanks to visit codestin.com Credit goes to github.com
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 4bc7e9c commit dd79978Copy full SHA for dd79978
src/Symfony/Component/Console/Terminal.php
@@ -98,7 +98,7 @@ private static function initDimensions()
98
*/
99
private static function hasVt100Support(): bool
100
{
101
- return \function_exists('sapi_windows_vt100_support') && sapi_windows_vt100_support(STDOUT);
+ return \function_exists('sapi_windows_vt100_support') && \defined('STDOUT') && sapi_windows_vt100_support(STDOUT);
102
}
103
104
/**
0 commit comments