Add color to Lime setup
This commit is contained in:
@@ -17,7 +17,7 @@ class CLIHelper {
|
||||
|
||||
while (true) {
|
||||
|
||||
LogHelper.print ("\x1b[1m" + question + "\x1b[0m \x1b[3;37m[" + options.join ("/") + "]\x1b[0m ? ");
|
||||
LogHelper.print (LogHelper.accentColor + question + "\x1b[0m \x1b[3;37m[" + options.join ("/") + "]\x1b[0m ? ");
|
||||
|
||||
try {
|
||||
|
||||
|
||||
@@ -370,7 +370,7 @@ class ConfigHelper {
|
||||
var content = lines.join ("\n");
|
||||
File.saveContent (path, content);
|
||||
|
||||
LogHelper.info ("Set " + LogHelper.accentColor + name + "\x1b[0m to \x1b[1m" + value + "\x1b[0m");
|
||||
LogHelper.info ("Set \x1b[1m" + name + "\x1b[0m to \x1b[1m" + value + "\x1b[0m");
|
||||
|
||||
} else {
|
||||
|
||||
|
||||
@@ -238,7 +238,7 @@ class PlatformSetup {
|
||||
|
||||
}
|
||||
|
||||
var inputValue = unescapePath (CLIHelper.param ("\x1b[1m" + description + "\x1b[0m \x1b[37;3m[" + value + "]\x1b[0m"));
|
||||
var inputValue = unescapePath (CLIHelper.param (LogHelper.accentColor + description + "\x1b[0m \x1b[37;3m[" + value + "]\x1b[0m"));
|
||||
|
||||
if (inputValue != "" && inputValue != value) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user