Fix more colors

This commit is contained in:
2021-06-11 20:07:43 +02:00
parent 5a4de9940d
commit e608aebe12

View File

@@ -33,13 +33,13 @@ function print_error_stack {
}
function info {
printf "%s %s\n" $(colthis cyan "[info]") "$*"
printf "%s %s\n" $(cyan echo "[info]") "$*"
}
function error {
global_errf=1
local_errf=1
current_error_line=$(printf "%s %s" $(colthis red "[error]") "$*")
current_error_line=$(printf "%s %s" $(red echo "[error]") "$*")
global_error_stack+=( "$current_error_line" )
>&2 printf "%s\n" "$current_error_line"
}