fix(tmux-projectinator): Fix loading spinner

This commit is contained in:
Tanguy Herbron 2024-01-13 16:00:19 +01:00
parent be5f66f574
commit 72c5886271

View File

@ -17,7 +17,7 @@ spinner() {
local s="⣾⣽⣻⢿⡿⣟⣯⣷" local s="⣾⣽⣻⢿⡿⣟⣯⣷"
local -i i=0 local -i i=0
while :; do while :; do
printf "%s\\r" "${s:$((i++%4)):1}" >&2 printf "%s\\r" "${s:$((i++%8)):1}" >&2
sleep .1 sleep .1
done done