-
Notifications
You must be signed in to change notification settings - Fork 9
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
Paging during the command execution #36
Comments
Hi @astrozot ! This feature would be awesome, indeed! I think we can do this by using tasks and |
Hi @ronisbr , thank you for your quick reply! Sure, here is a very simple function for your tests: function f(n)
for i in 1:n
println(i)
sleep(1)
end
println("done")
end Ideally, one would like to see the output of Thank you again and let me know if I can help any further. |
The problem with that code is that it yields during |
Hi @ronisbr , sorry for the slow reaction, I missed your comment. I understand your point, but the current version of the TerminalPager does not show any output even if the code yields, as in my example. Still, arguably, the most interesting use cases would not have a |
I am not sure this is possible, but it would be extremely useful to have TerminalPager work during the execution of a slow command. That would allow one, for example, to monitor the execution of slow scripts on remote servers.
The text was updated successfully, but these errors were encountered: