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

Start-of-line navigation is weird in new REPL, with completions showing #126851

Open
ferdnyc opened this issue Nov 15, 2024 · 1 comment
Open
Labels
stdlib Python modules in the Lib dir topic-repl Related to the interactive shell type-bug An unexpected behavior, bug, or error

Comments

@ferdnyc
Copy link
Contributor

ferdnyc commented Nov 15, 2024

In Python 3.13, if you're on a REPL line with completions showing above, typing Home or Ctrl+a will move the cursor to be in front of the first completion result, instead of to the start of the line being edited (or, to put it another way, immediately after the input prompt) where it "should" be.

Input otherwise works normally. If you start typing, the completions will disappear and the characters will go to the beginning of the input line. But it's disconcerting to see the cursor placed so far from where it "should" be.

Originally posted by @ferdnyc in #118878 (comment)

@ferdnyc
Copy link
Contributor Author

ferdnyc commented Nov 15, 2024

Note that @danielhollas' PR #118939 fixes this interaction, as a side effect of moving the results back below the input line.

@hugovk hugovk added type-bug An unexpected behavior, bug, or error topic-repl Related to the interactive shell labels Nov 15, 2024
@picnixz picnixz added the stdlib Python modules in the Lib dir label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir topic-repl Related to the interactive shell type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

3 participants