You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Transcript selection mode jumps a full viewport when moving down past the bottom with j #62710
In the transcript selection/viewing mode opened with Ctrl+X followed by [, vertical cursor movement behaves asymmetrically.
Steps to reproduce
Open a conversation containing more than one screen of output.
Press Ctrl+X, then [ to enter transcript selection/viewing mode.
Move upward with k past the top of the viewport.
Move downward with j past the bottom of the viewport.
Actual behavior
Moving upward with k scrolls the viewport one row at a time. Moving downward with j past the last visible row jumps to the next screen, placing the cursor row at the top.
Expected behavior
Both directions should scroll by the minimum number of rows needed to keep the cursor visible. A single j at the bottom should scroll down one row, keeping the cursor at the bottom.
Key bindings already use the defaults
Pager / Scroll Up = up, k
Pager / Scroll Down = down, j
Environment
The reporter installed the latest Codex CLI on November 20, 2026. The exact installed version has not been independently verified.
Source analysis (static inspection, without runtime reproduction)
The rust-v0.170.0 source maps k/j directly to CursorMotion::Rows(-1)/Rows(1) in transcript_view/select_mode.rs. In reveal_select_cursor(), when the cursor is outside the visible rows, the code sets:
TranscriptView::start() uses this anchor as the viewport starting row. This appears to explain the asymmetry: moving one row above the top shifts the viewport up one row, while moving one row below the bottom makes that row the new viewport start, causing a screen-sized jump.
Preserve the current viewport when the cursor remains visible. When it moves below the viewport, move the viewport start only enough to reveal the cursor at the bottom. Apply the corresponding minimum adjustment when it moves above the viewport.
Activity