Skip to content

Pagers might not work #1974

@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

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @peterhadlaw

        Issue actions

          Pagers might not work · Issue #1974 · prompt-toolkit/python-prompt-toolkit