Update build.func

This commit is contained in:
CanbiZ 2025-04-08 09:29:07 +02:00
parent 29b7f5ca06
commit 558af8cbfb

View File

@ -146,14 +146,14 @@ msg_info() {
msg_ok() {
local msg="$1"
stop_spinner
printf "${CM}" "${GN}${msg}${CL}" >&2
printf "\r\e[2K%s %b\n""${CM}" "${GN}${msg}${CL}" >&2
unset MSG_INFO_SHOWN["$msg"]
}
msg_error() {
stop_spinner
local msg="$1"
printf "${CROSS}" "${RD}${msg}${CL}" >&2
printf "\r\e[2K%s %b\n""${CROSS}" "${RD}${msg}${CL}" >&2
log_message "ERROR" "$msg"
}