feat: sync-music: add task number to log

This commit is contained in:
eriedaberrie 2024-11-02 20:43:26 -07:00
parent c5e1327c19
commit 3adb38248e

View file

@ -59,8 +59,12 @@
(char-equal (read-char) #\y))))
(defun progress-handler (queue task-count)
(loop :repeat task-count
:do (format t "~A~%" (lparallel.queue:pop-queue queue))))
(loop :for n :from 1 :upto task-count
:do (format t
"(~A/~A) ~A~%"
n
task-count
(lparallel.queue:pop-queue queue))))
(defun main ()
(multiple-value-bind (options free-args)