Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
Bug description:
When I paste code that is one line and my REPL window is small the text that would not be shown because it is offscreen is displayed after pressing enter.
For example I am pasting
thread=threading.Thread(target=lambda:threading.current_thread().name=='MainThread')
After I paste and then press enter to create the object I see
>>>read')
I can't remove the text or use the arrow keys to navigate the letters since the >>> prompt is empty.
When the window is smaller more text is shown after>>>.
>>> thread = threading.Thread(target=lambda: threading.current_thread()\ >>>> name == 'MainThread')CPython versions tested on:
3.13
Operating systems tested on:
macOS
Linked PRs
- gh-123177: Deactivate line wrap for Apple Terminal via scape codes in the new REPL #123267
- [3.13] gh-123177: Deactivate line wrap for Apple Terminal via scape codes in the new REPL (GH-123267) #123322
- gh-123177: Fix prompt for wrapped lines in pyrepl #123324
- [3.13] gh-123177: Fix prompt for wrapped lines in pyrepl (GH-123324) #123327