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

Need to press Enter to display terminal's prompt #6391

Open
davidbrochart opened this issue Dec 6, 2021 · 2 comments
Open

Need to press Enter to display terminal's prompt #6391

davidbrochart opened this issue Dec 6, 2021 · 2 comments
Labels
Milestone

Comments

@davidbrochart
Copy link
Member

Description

When opening a new terminal, the user needs to hit Enter in the terminal window in order to "activate" it, otherwise they are presented with a flashing cursor with no prompt:

image

When opening new terminals afterwards, the issue disappear.
Seems to be happening only in Firefox, but JupyterLab doesn't have the issue.

Reproduce

  1. Click "New Terminal".
  2. See a flashing cursor in a new empty terminal page.
  3. Hit Enter to display the prompt.

Expected behavior

The prompt should be displayed without having to first hit Enter.

Context

  • Operating System and version: Linux Ubuntu 21.04
  • Browser and version: Firefox 94.0
  • ReotrLab version: 0.3.13
@jtpio
Copy link
Member

jtpio commented Dec 6, 2021

Thanks @davidbrochart for reporting.

I wonder if this is specific to the default shell on the host?

but JupyterLab doesn't have the issue.

Or maybe just a race condition somewhere in the initialization process.

For example it doesn't seem to be the case when testing on Binder with this gist: https://gist.github.com/jtpio/4a6a34da66b32249e28df718ec30e4d7

new-terminal.mp4

@davidbrochart
Copy link
Member Author

I don't know, I'll report back if I have the time to investigate.

@jtpio jtpio transferred this issue from jupyterlab/retrolab Apr 27, 2022
@jtpio jtpio added this to the 7.0 milestone Apr 27, 2022
@jtpio jtpio modified the milestones: 7.0, 7.0.x May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants