8000 Update Php72.php · symfony/polyfill@7ee2340 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7ee2340

Browse files
authored
Update Php72.php
1 parent 52332f4 commit 7ee2340

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Php72/Php72.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ public static function sapi_windows_vt100_support($stream, $enable = null)
121121
return !$stdin
122122
&& (false !== getenv('ANSICON')
123123
|| 'ON' === getenv('ConEmuANSI')
124-
|| 'xterm' === getenv('TERM'));
124+
|| 'xterm' === getenv('TERM')
125+
|| 'Hyper' === getenv('TERM_PROGRAM'));
125126
}
126127

127128
public static function stream_isatty($stream)

0 commit comments

Comments
 (0)
0