Skip to content

Commit a24a2df

Browse files
committed
Fix spinner in ASCII mode
1 parent 59f13f7 commit a24a2df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

slib.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ spinner () {
214214
local ASCII_PROPELLER="/ - \\ |"
215215

216216
# Bigger spinners and progress type bars; takes more space.
217-
local WIDE_ASCII_PROG="[>----] [=>---] [==>--] [===>-] [====>] [----<] [---<=] [--<==] [-<===] [<====]"
217+
local WIDE_ASCII_PROG="[>---] [=>--] [==>-] [===>] [---<] [--<=] [-<==] [<===]"
218218
local WIDE_UNI_GREYSCALE2="▒▒▒ █▒▒ ██▒ ███ ▒██ ▒▒█ ▒▒▒"
219219

220220
local SPINNER_NORMAL
@@ -372,7 +372,7 @@ run_ok () {
372372
return 0
373373
else
374374
printf "Failed with error: ${res}\\n" >> ${RUN_LOG}
375-
env printf "${REDBG}[ERROR]${NORMAL}\\n"
375+
env printf "${REDBG}[ ER ]${NORMAL}\\n"
376376
if [ "$RUN_ERRORS_FATAL" ]; then
377377
log_fatal "Something went wrong with the previous command. Exiting."
378378
exit 1

0 commit comments

Comments
 (0)