diff options
Diffstat (limited to 'src/Utils/Formatter.php')
-rw-r--r-- | src/Utils/Formatter.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Utils/Formatter.php b/src/Utils/Formatter.php index 2ac7e3b..56d4bcb 100644 --- a/src/Utils/Formatter.php +++ b/src/Utils/Formatter.php @@ -408,6 +408,10 @@ class Formatter $prev = $curr; } + if ($this->options['type'] === 'cli') { + return $ret . "\e[0m"; + } + return $ret; } |