-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
Python 3.13 REPL have issues when typing/deleting single line, that goes wrapped on multiple lines #126614
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
Comments
Also if needed, sys.version prints: |
Can you give a minimum trigger? It seems that the video is a bit too cluttered. |
I write some code that goes on 2nd line, then I edit it (Arrow up on keyboard), during editing I either delete with Backspace or type characters and you can see when I press buttons it jump cursor. That's all. I guess code itself doesn't matter. |
2024-11-10_17-37-14_Python3.13.mp4Yeh, code doesn't matter. You can see here I type and delete And just for confirmation I checked REPL as standalone application (not runned within Windows Terminal) - the result is bugged as well. |
2024-11-10_17-49-36_NVIDIA_Overlay.mp4And another, more simpler, case. Here I just hold |
I tried it on Linux, and it is also kind of broken, though not as bad as it is on Windows. |
Bug report
Bug description:
When I tested some things in REPL that running in Windows Terminal on Windows 10 I find out that it have issues when I type or delete characters in first line that's being wrapped on 2nd line.
A better showcase will be this video:
2024-11-09_09-43-50_Python3.13_lq.mp4
Here you can see some line that I'm working with, at some point I was needed to go back and delete characters in first line, here I deleted 3 characters:
int
with backspace, but what it did is delete whole words and print line with overlapping on existing one, making it unreadable mess. But the actual code is safe, only visual bug showing it wrong.Then for showcase I added
int
back and it did in the same way with an error.CPython versions tested on:
3.13
Operating systems tested on:
Windows
The text was updated successfully, but these errors were encountered: