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.
2 parents b6a91b0 + 80bb837 commit b565706Copy full SHA for b565706
lib/cli/Streams.php
@@ -15,9 +15,9 @@ static function _call( $func, $args ) {
15
16
static public function isTty() {
17
if ( function_exists('stream_isatty') ) {
18
- return !stream_isatty(static::$out);
+ return stream_isatty(static::$out);
19
} else {
20
- return (function_exists('posix_isatty') && !posix_isatty(static::$out));
+ return (function_exists('posix_isatty') && posix_isatty(static::$out));
21
}
22
23
0 commit comments