Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
DinoV opened this issue May 22, 2024 · 1 comment
Closed

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

DinoV opened this issue May 22, 2024 · 1 comment
Labels
topic-repl Related to the interactive shell type-bug An unexpected behavior, bug, or error

Comments

@DinoV
Copy link
Contributor

DinoV commented May 22, 2024

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

@DinoV DinoV added the type-bug An unexpected behavior, bug, or error label May 22, 2024
DinoV added a commit that referenced this issue May 22, 2024
Fix culmitive errors in wrapping as lines proceed
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 22, 2024
…ythonGH-119435)

Fix culmitive errors in wrapping as lines proceed
(cherry picked from commit e3bf538)

Co-authored-by: Dino Viehland <dinoviehland@gmail.com>
lysnikolaou pushed a commit that referenced this issue May 23, 2024
…H-119435) (#119441)

Fix culmitive errors in wrapping as lines proceed
(cherry picked from commit e3bf538)

Co-authored-by: Dino Viehland <dinoviehland@gmail.com>
@lysnikolaou
Copy link
Member

Thanks @DinoV!

@lysnikolaou lysnikolaou added the topic-repl Related to the interactive shell label May 23, 2024
estyxx pushed a commit to estyxx/cpython that referenced this issue Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-repl Related to the interactive shell type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants