Skip to content

fix(tui): coalesce session scrollback input#165

Merged
edwin-zvs merged 1 commit into
mainfrom
fix-tui-scrollback-input
May 23, 2026
Merged

fix(tui): coalesce session scrollback input#165
edwin-zvs merged 1 commit into
mainfrom
fix-tui-scrollback-input

Conversation

@edwin-zvs

Copy link
Copy Markdown
Contributor

Summary

  • coalesce queued mouse wheel events before rendering so fast scrolling does not replay one event at a time after input stops
  • make mouse wheel scrollback use a partial-page step based on terminal height instead of a tiny fixed row step
  • clamp the modeline scrollback value to the effective rendered vt100 scrollback so it cannot drift past available history

Tests

  • cargo test -p agentd-cli scrollback -- --nocapture
  • cargo test -p agentd-cli drain -- --nocapture
  • cargo test -p agentd-cli
  • cargo build
  • git diff --check

@edwin-zvs
edwin-zvs merged commit 59096f9 into main May 23, 2026
1 check passed
@edwin-zvs
edwin-zvs deleted the fix-tui-scrollback-input branch May 23, 2026 06:42
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

Successfully merging this pull request may close these issues.

1 participant