Open
Description
Bug report
Bug description:
When output doesn't end with newline and the next prompt appears mid-line, typing input that causes line wrapping makes the prompt overwrite previous output.
Steps to Reproduce
Then type enough characters, the content before the prompt will be overwritten.
Additionally, pasting causes display formatting errors
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Metadata
Metadata
Assignees
Labels
Python modules in the Lib dirPython modules in the Lib dirRelated to the interactive shellRelated to the interactive shellAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error