From b3bab77a8a301ed09567c298ec12e20bd71cc03b Mon Sep 17 00:00:00 2001 From: DariusIII Date: Sat, 17 Feb 2018 23:46:06 +0100 Subject: [PATCH] Update ColorCLI class --- Blacklight/ColorCLI.php | 8 ++++---- Changelog | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Blacklight/ColorCLI.php b/Blacklight/ColorCLI.php index f36af110d..0e3811884 100755 --- a/Blacklight/ColorCLI.php +++ b/Blacklight/ColorCLI.php @@ -58,7 +58,7 @@ class ColorCLI */ public static function primary($str): string { - return color($str)->green(); + return color($str)->green().PHP_EOL; } /** @@ -67,7 +67,7 @@ class ColorCLI */ public static function header($str): string { - return color($str)->yellow(); + return color($str)->yellow().PHP_EOL; } /** @@ -76,7 +76,7 @@ class ColorCLI */ public static function alternate($str): string { - return color($str)->magenta()->dark()->bold(); + return color($str)->magenta()->dark()->bold().PHP_EOL; } /** @@ -85,7 +85,7 @@ class ColorCLI */ public static function tmuxOrange($str): string { - return "\033[38;5;".color("$str\033[0m\n")->yellow()->dark(); + return color($str)->yellow()->dark().PHP_EOL; } /** diff --git a/Changelog b/Changelog index 7613301b2..596ab1704 100755 --- a/Changelog +++ b/Changelog @@ -1,3 +1,5 @@ +2018-02-17 DariusIII + * Chg: Update ColorCLI class 2018-02-16 DariusIII * Chg: Update phpunit/phpunit-mock-objects to latest version 2018-02-15 DariusIII