mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Show progress percentage during 'doom update'
This commit is contained in:
@ -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! "."))
|
||||||
|
Reference in New Issue
Block a user