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 e1bfb48Copy full SHA for e1bfb48
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') && sapi_windows_vt100_support(fopen('php://stdout', 'w'));
102
}
103
104
/**
0 commit comments