Fix animation_progress to display the status.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -76,7 +76,7 @@ _start_animation() { | ... | @@ -76,7 +76,7 @@ _start_animation() { |
76 | } | 76 | } |
77 | 77 | ||
78 | _animation_progress() { | 78 | _animation_progress() { |
79 | printf "$animation_message: %s %s\r" "${animations[$animation_index]}" "$2" | 79 | printf "$animation_message: %s %s\r" "${animations[$animation_index]}" "$1" |
80 | animation_index=$(( ($animation_index + 1) % ${#animations[*]} )) | 80 | animation_index=$(( ($animation_index + 1) % ${#animations[*]} )) |
81 | } | 81 | } |
82 | 82 | ... | ... |
-
Please register or sign in to post a comment