mirror of
https://github.com/deajan/osync
synced 2024-11-17 09:25:42 +00:00
Less code for spinner
This commit is contained in:
parent
4308678cc2
commit
9bce1a7f1c
@ -600,8 +600,8 @@ function Spinner {
|
|||||||
if [ $_LOGGER_SILENT == true ] || [ "$_LOGGER_ERR_ONLY" == true ]; then
|
if [ $_LOGGER_SILENT == true ] || [ "$_LOGGER_ERR_ONLY" == true ]; then
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
printf " [%c] " "$_OFUNCTIONS_SPINNER"
|
printf " [%c] \b\b\b\b\b\b" "$_OFUNCTIONS_SPINNER"
|
||||||
printf "\b\b\b\b\b\b"
|
#printf "\b\b\b\b\b\b"
|
||||||
_OFUNCTIONS_SPINNER=${_OFUNCTIONS_SPINNER#?}${_OFUNCTIONS_SPINNER%%???}
|
_OFUNCTIONS_SPINNER=${_OFUNCTIONS_SPINNER#?}${_OFUNCTIONS_SPINNER%%???}
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user