Update core.func

This commit is contained in:
CanbiZ 2025-05-15 10:45:23 +02:00
parent 006d9e3c66
commit 5f7c5deb17

View File

@ -9,6 +9,11 @@ if ! declare -f wait_for >/dev/null; then
} }
fi fi
declare -A MSG_INFO_SHOWN=()
SPINNER_PID=""
SPINNER_ACTIVE=0
SPINNER_MSG=""
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Loads core utility groups once (colors, formatting, icons, defaults). # Loads core utility groups once (colors, formatting, icons, defaults).
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
@ -218,11 +223,6 @@ __curl_err_handler() {
} }
### dev spinner ### ### dev spinner ###
declare -A MSG_INFO_SHOWN=()
SPINNER_PID=""
SPINNER_ACTIVE=0
SPINNER_MSG=""
# Trap cleanup on various signals # Trap cleanup on various signals
trap 'cleanup_spinner' EXIT INT TERM HUP trap 'cleanup_spinner' EXIT INT TERM HUP