Skip to content

Commit d7b702d

Browse files
authored
Update altaera-update.sh
1 parent 4a407b8 commit d7b702d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/altaera-update.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
# coding=UTF-8
23

34
HEIGHT=20
45
WIDTH=100
@@ -25,8 +26,8 @@ clear
2526
# Spinner that runs while a given PID is alive
2627
spin() {
2728
local pid="$1"
28-
local delay=0.2
29-
local chars='⠁ ⠂ ⠄ ⡀ ⢀ ⠠ ⠐ ⠈'
29+
local delay=0.1
30+
local chars='|/-\\'
3031
tput civis
3132
while kill -0 "$pid" 2>/dev/null; do
3233
for ((i=0; i<${#chars}; i++)); do

0 commit comments

Comments
 (0)