Show progress percentage during 'doom update'
This commit is contained in:
parent
19ecf8e46a
commit
c2af0723d7
1 changed files with 3 additions and 0 deletions
|
@ -184,6 +184,9 @@ a list of packages that will be updated."
|
||||||
(futures (nreverse futures))
|
(futures (nreverse futures))
|
||||||
(specs '(t)))
|
(specs '(t)))
|
||||||
(while futures
|
(while futures
|
||||||
|
(print! ". %.0f%%" (* (/ (- total (length futures))
|
||||||
|
(float total))
|
||||||
|
100))
|
||||||
(while (not (async-ready (car futures)))
|
(while (not (async-ready (car futures)))
|
||||||
(sleep-for 2)
|
(sleep-for 2)
|
||||||
(print! "."))
|
(print! "."))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue