Entering space character in ipython session freezes the prompt #4089

Closed
opened 2026-01-30 23:37:42 +00:00 by claunia · 5 comments
Owner

Originally created by @thibaultdouzon on GitHub (Sep 26, 2019).

Environment

Windows build number: 10.0.18362.356,
Terminal: 0.5.2681.0

Python: tried with 3.6 and 3.8 (alpha)
I'm using conda to manage packages (ipython in this case)

This only happens in Terminal tabs, not in basic Powershell / Cmd windows.

Steps to reproduce

  • Open a tab (tried with powershell and cmd).

  • Run ipython

  • Start entering at least one character and then hit spacebar. No more char can be added to the line and ipython doesn't respond anymore.

  • Hit Ctrl + C to clear the line

Expected behavior

We should be able to write spaces in the ipython prompt

Actual behavior

Space characters are not printed out and make the prompt freeze.

Originally created by @thibaultdouzon on GitHub (Sep 26, 2019). # Environment Windows build number: 10.0.18362.356, Terminal: 0.5.2681.0 Python: tried with 3.6 and 3.8 (alpha) I'm using conda to manage packages (ipython in this case) This only happens in Terminal tabs, not in basic Powershell / Cmd windows. # Steps to reproduce * Open a tab (tried with powershell and cmd). * Run `ipython` * Start entering at least one character and then hit spacebar. No more char can be added to the line and ipython doesn't respond anymore. * Hit Ctrl + C to clear the line # Expected behavior We should be able to write spaces in the ipython prompt # Actual behavior Space characters are not printed out and make the prompt freeze.
claunia added the Needs-TriageNeeds-Tag-FixProduct-Terminal labels 2026-01-30 23:37:42 +00:00
Author
Owner

@thibaultdouzon commented on GitHub (Oct 24, 2019):

Tried again today with version 0.6.2951.0, the bug is not reproducible anymore. Closing this.

@thibaultdouzon commented on GitHub (Oct 24, 2019): Tried again today with version 0.6.2951.0, the bug is not reproducible anymore. Closing this.
Author
Owner

@geeanlooca commented on GitHub (Apr 16, 2020):

I am encountering this exact bug on version 0.10.781.0. Also, maybe unrelated, I have the same bug using the integrated VsCode terminal.

@geeanlooca commented on GitHub (Apr 16, 2020): I am encountering this exact bug on version 0.10.781.0. Also, maybe unrelated, I have the same bug using the integrated VsCode terminal.
Author
Owner

@thibaultdouzon commented on GitHub (Apr 16, 2020):

Just tested again, it's working perfectly on my computer on version 0.10.781.0

@thibaultdouzon commented on GitHub (Apr 16, 2020): Just tested again, it's working perfectly on my computer on version 0.10.781.0
Author
Owner

@paulflang commented on GitHub (Dec 25, 2021):

@geeanlooca : I do have the same problem when running IPython in a VSCode Powershell termial. Have you found a solution?

@paulflang commented on GitHub (Dec 25, 2021): @geeanlooca : I do have the same problem when running IPython in a VSCode Powershell termial. Have you found a solution?
Author
Owner

@geeanlooca commented on GitHub (Jan 12, 2022):

Sorry for the late reply, for some reason it decided to start working again
without me doing anything in particular. I’m afraid I can’t help

@geeanlooca commented on GitHub (Jan 12, 2022): Sorry for the late reply, for some reason it decided to start working again without me doing anything in particular. I’m afraid I can’t help
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#4089