diff --git a/src/Colors.php b/src/Colors.php index ae25256..015e422 100644 --- a/src/Colors.php +++ b/src/Colors.php @@ -107,9 +107,9 @@ public function isEnabled() */ public function ptln($line, $color, $channel = STDOUT) { - $this->set($color); + $this->set($color, $channel); fwrite($channel, rtrim($line) . "\n"); - $this->reset(); + $this->reset($channel); } /**