Skip to content

Commit 618618b

Browse files
committed
fix CLI::reset()
1 parent fe0a255 commit 618618b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/CLI/CLI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1139,7 +1139,7 @@ public static function reset(): void
11391139
static::$lastWrite = 'write';
11401140
static::$height = null;
11411141
static::$width = null;
1142-
static::$isColored = false;
1142+
static::$isColored = static::hasColorSupport(STDOUT);
11431143

11441144
static::resetInputOutput();
11451145
}

0 commit comments

Comments
 (0)