diff options
-rw-r--r-- | functions.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/functions.sh b/functions.sh index cab97b5..8c5bd93 100644 --- a/functions.sh +++ b/functions.sh @@ -90,9 +90,10 @@ function spinner() { local i=0 tput civis # cursor invisible + tput bold setaf 7 while kill -0 $pid 2>/dev/null; do local i=$(((i + $charwidth) % ${#spin})) - printf "%b" "${IWHT}${spin:$i:$charwidth}${RST}" + printf "%b" "${spin:$i:$charwidth}" cursorBack 1 sleep .1 |