Skip to content
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

Handle \r in the notebook #3561

Closed
davidanthoff opened this issue Mar 7, 2024 · 1 comment · Fixed by #3562
Closed

Handle \r in the notebook #3561

davidanthoff opened this issue Mar 7, 2024 · 1 comment · Fixed by #3562

Comments

@davidanthoff
Copy link
Member

Running

print("Hello World")
print("\r")
print("1234")

with a Jupyter/IJulia kernel results in output

1234o World

but running it in the extension Julia kernel results in

Hello World
1234

If we just handled the \r like the Jupyter/IJulia kernel did, things like ProgressMeter would look a lot better, at least in some basic use-cases.

@DonJayamanne and @amunger any suggestion on how we might want to do that? Is there special handling in the Jupyter extension for this that we could just replicate somehow? The code that currently handles this in the extension is

({ name, data }) => {
, presumably we would want to change that somehow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants