Skip to content

Pagers might not work #1974

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

Open
peterhadlaw opened this issue Feb 27, 2025 · 0 comments
Open

Pagers might not work #1974

peterhadlaw opened this issue Feb 27, 2025 · 0 comments

Comments

@peterhadlaw
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant