From b759abbf2e526635d9054ec2d4b04083cc6db30b Mon Sep 17 00:00:00 2001 From: Wolf Wortmann Date: Tue, 2 Feb 2021 19:13:47 +0100 Subject: [PATCH] CLI: Prompt: Change color of default value to green Signed-off-by: Wolf Wortmann --- system/CLI/CLI.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/CLI/CLI.php b/system/CLI/CLI.php index 30d49bad5809..a028a6c4b0a3 100644 --- a/system/CLI/CLI.php +++ b/system/CLI/CLI.php @@ -244,14 +244,14 @@ public static function prompt(string $field, $options = null, $validation = null if (is_string($options)) { - $extraOutput = ' [' . static::color($options, 'white') . ']'; + $extraOutput = ' [' . static::color($options, 'green') . ']'; $default = $options; } if (is_array($options) && $options) { $opts = $options; - $extraOutputDefault = static::color($opts[0], 'white'); + $extraOutputDefault = static::color($opts[0], 'green'); unset($opts[0]);