Show item count with spinner (nope! reverted!)

This commit is contained in:
Vincent Riquer 2020-02-13 00:22:29 +01:00
parent d4ddb7ac72
commit dcf158a5a2

View File

@ -5,10 +5,10 @@ progressSpin() {
(( ++count ))
else
case $(( ++count % 40 )) in
0) echo -ne '\b|' ;;
10) echo -ne '\b/' ;;
20) echo -en '\b-' ;;
30) echo -ne '\b\\' ;;
0) echo -ne $count '\b|' ;;
10) echo -ne $count '\b/' ;;
20) echo -en $count '\b-' ;;
30) echo -ne $count '\b\\' ;;
*) ;;
esac
fi