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.
I can't remove the text or use the arrow keys to navigate the letters since the >>> prompt is empty.
>>> thread = threading.Thread(target=lambda: threading.current_thread()\
>
>>> name == 'MainThread')
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
After I paste and then press enter to create the object I see
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
>>>.CPython versions tested on:
3.13
Operating systems tested on:
macOS
Linked PRs