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
TUI: option to keep the scroll position when a prompt is submitted #53186
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Submitting a prompt in a session always scrolls the transcript to the bottom (toBottom() from the session prompt's onSubmit). If you had scrolled up to read earlier output, that position is lost the moment anything is submitted.
This is most disruptive when prompts are not typed by the person reading: tools that drive the TUI (multiplexers, orchestrators, scripts typing into the composer) submit follow-up prompts while you are reading further up, and every one of them yanks the view back down.
Proposal: an opt-in TUI setting, keep_scroll_on_submit in tui.json (default false, so current behavior is unchanged), plus a runtime toggle (/keep-scroll in the command palette, persisted like /timestamps). When on, submitting leaves the viewport where it is. A viewport already at the bottom keeps following new output via the existing sticky scroll, so nothing changes for users who are not scrolled up.
Steps to see the current behavior:
Get a session transcript taller than the terminal.
Activity
github-actions commentedon Oct 4, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
[FEATURE]:.Please edit this issue to address the above within 72 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
If you believe this was flagged incorrectly, please let a maintainer know.
docs(forklog): record keeping the scroll position on prompt submit
github-actions commentedon Oct 7, 2026
This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 72-hour window.
Feel free to open a new issue that follows our issue templates.
docs(forklog): record keeping the scroll position on prompt submit