[FEATURE] ctrl+o should keep the scroll position centered when expanding
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
I often want to expand the place where I have scrolled to in the output. So, I press ctrl+o instinctively, it snaps me back to the bottom, and I lose my place. It's made more difficult to find again in the expanded output since your visual memory doesn't help as much (suddenly new content).
Proposed Solution
My proposal is that the scroll position should remain centered when you expand; it would expand above the current position and below the current position, instead of expanding fully and snapping you back to the bottom.
Alternative Solutions
I don't believe there's a workaround. The other possibility is that I'm experiencing a bug and this is actually already how it's supposed to work.
Priority
High - Significant impact on productivity
Feature Category
Interactive mode (TUI)
Use Case Example
- You have Claude run the tests in some project
- You have it do something else like write to some files
- You want to read the test outputs and the files it read to get more context
- You scroll up to where the test outputs would be, but hidden because they were successful
- You press ctrl+o to expand
- Currently: It expands but you are snapped back to the bottom of the scroll buffer, losing your place. Proposed: It expands upward and downward but your scroll position remains centered.
Additional Context
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗