Where does the bug appear (feature/product)?
Cursor CLI (cursor-agent)
Describe the Bug
In Ghostty, while using cursor-agent, scrolling up with the mouse / trackpad to read earlier output immediately jumps the viewport back to the bottom.
This is not a Ghostty config issue: Codex CLI in the same Ghostty terminal, same profile, does not snap back. Scrolling stays where I left it.
It looks like cursor-agent’s TUI keeps auto-following / redrawing the latest line (alternate screen + mouse tracking + frequent re-renders), so any manual scroll is overwritten on the next frame.
Related threads (same TUI scroll problem, different symptoms):
- When using cursor agent (or cursor cli?) on Ubuntu, I cannot scroll the the results
- [FEATURE] Pin composer box to bottom of terminal pane (Cursor CLI) (staff: not being able to scroll terminal output while the prompt is visible is already on your radar)
Steps to Reproduce
- Open Ghostty on macOS.
- Run
cursor-agentand produce more than one screen of output (streaming reply or tool output). - Scroll up with the mouse / trackpad to read earlier content.
- The view snaps back to the bottom almost immediately.
- Repeat in the same Ghostty profile with Codex CLI — the scroll position stays put.
Expected Behavior
Scrolling up should pause auto-follow until I return to the bottom, same as Codex.
Operating System
macOS 26.2 (Build 25C56)
Version Information
- cursor-agent:
2026.08.11-e8db854 - Ghostty:
1.3.1(stable) - Ghostty
mouse-reporting = true(Cmd+Shift+M toggles it). Codex still scrolls normally with this config.
Does this stop you from using Cursor
No — Cursor works, but reviewing long CLI sessions is painful.