Skip to content

New REPL: Prompt overwrites previous output on line wrap #134643

Open
@ImFeH2

Description

@ImFeH2

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

Image

Then type enough characters, the content before the prompt will be overwritten.

Image

Additionally, pasting causes display formatting errors

Image

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibPython modules in the Lib dirtopic-replRelated to the interactive shelltype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions