Skip to content

Commit

Permalink
fix: disable color
Browse files Browse the repository at this point in the history
  • Loading branch information
marcocesarato committed Jan 10, 2021
1 parent 9238b6e commit 59c2879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Scanner.php
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ private function arguments($args = null)
}

// Colors
if (!self::$argv['disable-colors']) {
if (self::$argv['disable-colors']) {
self::setColors(false);
} elseif (function_exists('ncurses_has_colors')) {
self::setColors(ncurses_has_colors());
Expand Down

0 comments on commit 59c2879

Please sign in to comment.