mirror of
https://github.com/jorgebucaran/fisher
synced 2024-09-10 15:07:40 +02:00
Add a single space after the spinner by default.
To remove the white space use a format like --format="@\r"
This commit is contained in:
parent
401647927e
commit
e4ff785445
1 changed files with 4 additions and 4 deletions
|
@ -123,13 +123,13 @@ function wait -d "Run commands and display a spinner"
|
|||
end
|
||||
|
||||
if test -z (jobs)
|
||||
printf "$format" | tr @ "\0" > /dev/stderr
|
||||
# printf "$format" | tr @ "\0" > /dev/stderr
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
if test -s $tmp
|
||||
if set -q log[1]
|
||||
if test ! -z "$log"
|
||||
nl -n ln -- $tmp > $log
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue