Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

pyrepl: Cursor behaviour during tab-completion #119257

Closed
Labels
topic-replRelated to the interactive shell
@danielhollas

Description

@danielhollas

Pressing the Left arrow after the completions are shown moves the cursor three positions to the left.

It turns outreader.pos2xy usesreader.screen andreader.screeninfo to compute the position in the screen. Both of these include the two lines with completions. However,reader.pos andreader.buffer only include the things actually typed by the user (i.e. the third linedatetime.). This leads to the new cursor position calculation being faulty. We'll have to think more about how to fix this.

Originally posted by@lysnikolaou in#118877 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic-replRelated to the interactive shell

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp