added loading animation in terminal

This commit is contained in:
euzkie 2022-01-05 22:15:37 +03:00
parent 0b41c27b25
commit e1a71783d2

11
loading Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
chars="/-\|"
while :; do
for (( i=0; i<${#chars}; i++ )); do
sleep 0.5
echo -en "${chars:$i:1}" "\r"
done
done