Smooth fullscreen transcript wheel scrolling - #887
Open
mrmoxon wants to merge 4 commits into
Open
Conversation
mrmoxon
marked this pull request as ready for review
August 8, 2026 00:33
kcoopermiller
approved these changes
Aug 8, 2026
zhengr
pushed a commit
to zhengr/prime-agent
that referenced
this pull request
Aug 8, 2026
…t-ai#887) Error messages for missing credentials and shell config now use getAuthPath() and getSettingsPath() instead of hardcoded ~/.pi/agent/ paths, so they correctly reflect PI_CODING_AGENT_DIR when set.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
Fullscreen transcript scrolling was too sensitive: one wheel report jumped three rows. One row per report is the terminal renderer’s finest visible increment and avoids both the original large jumps and the over-throttled two-report behavior.
Testing
Note
Low Risk
Single constant change in fullscreen mouse wheel handling with matching test updates; no auth, data, or API surface changes.
Overview
Fullscreen transcript wheel scrolling is less sensitive: each mouse wheel report advances the viewport by one terminal row instead of three (
WHEEL_SCROLL_LINESintui.ts).Wheel handling still runs on every report (no extra throttling), and row alignment is unchanged. The TUI changelog documents the behavior, and fullscreen regression tests were updated for the new scroll distance and
linesBelowcounts.Reviewed by Cursor Bugbot for commit b04ed8b. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Reduce fullscreen transcript wheel scroll sensitivity from 3 lines to 1 line per step
Decreases
TUI.WHEEL_SCROLL_LINESfrom3to1in tui.ts so the viewport moves one row per wheel step instead of three, making fullscreen transcript scrolling feel smoother. Test assertions in fullscreen.test.ts are updated to match the new scroll increment and expectedlinesBelowcount.Macroscope summarized b04ed8b.