Skip to content

Commit b565706

Browse files
authored
Merge pull request #146 from dan-m-joh/patch-1
2 parents b6a91b0 + 80bb837 commit b565706

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/cli/Streams.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ static function _call( $func, $args ) {
1515

1616
static public function isTty() {
1717
if ( function_exists('stream_isatty') ) {
18-
return !stream_isatty(static::$out);
18+
return stream_isatty(static::$out);
1919
} else {
20-
return (function_exists('posix_isatty') && !posix_isatty(static::$out));
20+
return (function_exists('posix_isatty') && posix_isatty(static::$out));
2121
}
2222
}
2323

0 commit comments

Comments
 (0)