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

notebooks: incorrect handling of control characters if both stdout and stderr are used #13152

Closed
bvenreply opened this issue Dec 5, 2023 · 2 comments · Fixed by #13137
Closed
Assignees

Comments

@bvenreply
Copy link
Contributor

Bug Description:

When both stdout and stderr streams are used in an output cell of a notebook, erasing the last line using backspaces doesn't work; instead, the backspaces are ignored and the subsequent output is placed on a new line. Here's an example of this occurring in the Keras model training progress reporting UI:
image

Steps to Reproduce:

You can use the browser example app to reproduce this:

stdoutstderr

Additional Information

  • Theia Version: The PR ported the full output optimization code from VSCode #13137 fixes a bug that prevented this other issue from manifesting. As soon as it is merged this issue will reproduce on master
  • Operating system: Debian 6.1.55-1 (2023-09-29) x86_64 GNU/Linux
  • Browser: Chromium version 119.0.6045.159

cc: @jonah-iden

@jonah-iden
Copy link
Contributor

Hi, I found the issue, the fix was super simple just very hard to spot. Added it t the Original PR since its just one modified line of code

@bvenreply
Copy link
Contributor Author

I tested the new code, it's working great! Thanks a lot @jonah-iden

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

Successfully merging a pull request may close this issue.

2 participants