You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see in the examples that the println! macro is used directly for output, but using this or even print! flushes stdout before printing the next prompt, and this doesn't look pleasant.
In the GIF, you can see the cursor move to the next line after printing from println! and then go down again after printing the next prompt.
(Open GIF in a new tab if it isn't clear)
I think we should have an API for printing command outputs so there's no flush before the next prompt is printed. Maybe we could also have an output "prompt", which popular REPLs like ipython doo.
The text was updated successfully, but these errors were encountered:
I see in the examples that the
println!
macro is used directly for output, but using this or evenprint!
flushes stdout before printing the next prompt, and this doesn't look pleasant.In the GIF, you can see the cursor move to the next line after printing from
println!
and then go down again after printing the next prompt.(Open GIF in a new tab if it isn't clear)
I think we should have an API for printing command outputs so there's no flush before the next prompt is printed. Maybe we could also have an output "prompt", which popular REPLs like
ipython
doo.The text was updated successfully, but these errors were encountered: