Add color to Lime setup

This commit is contained in:
Joshua Granick
2018-04-20 20:23:51 -07:00
parent 03e121720d
commit 9d225a6cd6
3 changed files with 3 additions and 3 deletions

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -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) {