Skip to content

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

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

Activity

  1. added
    type-bugAn unexpected behavior, bug, or error
    on May 22, 2024
  2. added a commit that references this issue on May 22, 2024
  3. added a commit that references this issue on May 22, 2024
  4. added a commit that references this issue on May 23, 2024
  5. lysnikolaou commented on May 23, 2024

    @lysnikolaou
    Member

    Thanks @DinoV!

  6. added a commit that references this issue on Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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