-
-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ProgressBar Issues #123
Comments
working on it: #124 |
Hi, Sorry for the delay in getting back to you. using Term, Term.Progress
f1(x) = for i in 1:x; println(i); end; sleep(0)
f2(x) = collect(1:x)
f3(x) = collect(1:x).^2
function main(x, y, z)
progressbar = ProgressBar(; columns=:minimal, columns_kwargs = Dict(:SpinnerColumn => Dict(:spinnertype => :circle)))
output = with(progressbar) do
job1 = addjob!(progressbar, description = "Running Function 1")
f1(x)
stop!(job1)
job2 = addjob!(progressbar, description = "Running Function 2")
f2(y)
stop!(job2)
job3 = addjob!(progressbar, description = "Running Function 3")
f3(z)
stop!(job3)
"Output"
println("Output2")
end
return output
end
main(50, 1E9, 1E5) Screen.Recording.2022-07-31.at.00.49.54.movI think don't understand 5: if I say call |
Great, thanks. I think issue #5 I was having is not a term issue. |
I'll close this for now as new versions have been released and ProgressBar has been re-worked somewhat. Please get in touch if it's still an issue. |
MWE:
Adjust inputs to slightly strain your machine.
I am running in VSCode for Windows.
job1
spinner appears but does not spin.job1
checkmark does not appear until bothjob1
andjob2
are complete.job2
spinner does not appear. The text and checkmark only appear once finished.job3
does not appear at all including text, spinner, and checkmark.output
does not appear.Same behavior whether I use
yield()
orsleep(0.001)
.The text was updated successfully, but these errors were encountered: