Skip to content

Pagers might not work #1974

Open
Open
@peterhadlaw

Description

@peterhadlaw

Hello cross-posting for visibility because I know aider uses prompt_toolkit under the hood.

Not sure how to reproduce this directly with prompt_toolkit but here's where it's usage is defined in aider:

I've noticed pagers are broken...

Repro path:

  1. Load up aider (prompt_toolkit)
  2. /run more <any sufficiently long file to scroll>
  3. Scroll down a little with j
  4. Scroll back up with k

Expected behavior:
The lines should just scroll up and down

Actual behavior:
The cursor skips up lines and swallows some of the lines in between

Demo:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions