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