added loading animation in terminal
This commit is contained in:
parent
0b41c27b25
commit
e1a71783d2
1 changed files with 11 additions and 0 deletions
11
loading
Executable file
11
loading
Executable 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
|
||||||
|
|
Loading…
Reference in a new issue