Skip to content

REPL takes extra key presses on long inputs that wrap around lines #119434

Closed
@DinoV

Description

@DinoV

Bug report

Bug description:

The new REPL has an issue when outputting at the right edge of the console window. It tries to output a "" at the end, and then print the typed character at the beginning of the next line. This works fine on the first line. The 2nd line the "" + char doesn't show up until after you press a 2nd char. And at the 3rd line it takes 3 chars, and so on.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic-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