Update core.func

This commit is contained in:
CanbiZ 2025-06-30 11:01:44 +02:00
parent e2de55ac7a
commit bdcdc8b794

View File

@ -467,14 +467,14 @@ stop_spinner() {
rm -f /tmp/.spinner.pid rm -f /tmp/.spinner.pid
unset SPINNER_PID unset SPINNER_PID
fi fi
printf "\r\033[K"
printf "\r\033[K\e[?25h" # clear line + restore cursor
} }
msg_ok() { msg_ok() {
stop_spinner stop_spinner
local msg="$1" local msg="$1"
echo -e "${BFR:-} ${CM:-✔️} ${GN}${msg}${CL}" echo -e "${BFR:-} ${CM:-✔️} ${GN}${msg}${CL}"
printf "\e[?25h"
} }
msg_error() { msg_error() {