mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
Update core.func
This commit is contained in:
@@ -447,9 +447,12 @@ spinner() {
|
||||
}
|
||||
|
||||
stop_spinner() {
|
||||
[[ -n "$SPINNER_PID" ]] && kill "$SPINNER_PID" 2>/dev/null && wait "$SPINNER_PID" 2>/dev/null || true
|
||||
printf "\e[?25h"
|
||||
SPINNER_PID=""
|
||||
if [[ -n "$SPINNER_PID" ]]; then
|
||||
kill "$SPINNER_PID" 2>/dev/null
|
||||
wait "$SPINNER_PID" 2>/dev/null || true
|
||||
SPINNER_PID=""
|
||||
fi
|
||||
printf "\r\033[K\e[?25h" # clear line + show cursor
|
||||
}
|
||||
|
||||
msg_info() {
|
||||
|
||||
Reference in New Issue
Block a user