We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a407b8 commit d7b702dCopy full SHA for d7b702d
scripts/altaera-update.sh
@@ -1,4 +1,5 @@
1
#!/bin/bash
2
+# coding=UTF-8
3
4
HEIGHT=20
5
WIDTH=100
@@ -25,8 +26,8 @@ clear
25
26
# Spinner that runs while a given PID is alive
27
spin() {
28
local pid="$1"
- local delay=0.2
29
- local chars='⠁ ⠂ ⠄ ⡀ ⢀ ⠠ ⠐ ⠈'
+ local delay=0.1
30
+ local chars='|/-\\'
31
tput civis
32
while kill -0 "$pid" 2>/dev/null; do
33
for ((i=0; i<${#chars}; i++)); do
0 commit comments