From a8a13b1db4d236d8305d408c859ee0d45f99985c Mon Sep 17 00:00:00 2001 From: Wolf Date: Mon, 2 Aug 2021 16:31:59 +0200 Subject: [PATCH] CLI: Prompt: Change color of default value to green --- 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 3ddd544c229c..ea1e1ad85611 100644 --- a/system/CLI/CLI.php +++ b/system/CLI/CLI.php @@ -228,13 +228,13 @@ 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]);