Setting to prevent TUI scrolling when new message are streamed-in #4641

Open
opened 2026-02-16 17:44:53 -05:00 by yindo · 4 comments
Owner

Originally created by @alexx-ftw on GitHub (Jan 10, 2026).

Originally assigned to: @rekram1-node on GitHub.

Title is self-explanatory.
I like to read TUI messages while the Agent is working and streaming-in new messages below, but the current behavior of scrolling down is a bit annoying.

I searched for and didn't find any setting that controls that.

Originally created by @alexx-ftw on GitHub (Jan 10, 2026). Originally assigned to: @rekram1-node on GitHub. Title is self-explanatory. I like to read TUI messages while the Agent is working and streaming-in new messages below, but the current behavior of scrolling down is a bit annoying. I searched for and didn't find any setting that controls that.
yindo added the opentui label 2026-02-16 17:44:53 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 10, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #2500: scrollbars missing

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 10, 2026): This issue might be a duplicate of existing issues. Please check: - #2500: scrollbars missing Feel free to ignore if none of these address your specific case.
Author
Owner

@alexx-ftw commented on GitHub (Jan 10, 2026):

I have implemented this feature in PR #7651. You can now disable auto-scrolling by setting tui.auto_scroll to false in your config.

@alexx-ftw commented on GitHub (Jan 10, 2026): I have implemented this feature in PR #7651. You can now disable auto-scrolling by setting `tui.auto_scroll` to `false` in your config.
Author
Owner

@JuliaBonita commented on GitHub (Jan 11, 2026):

Ideally, this feature would be intelligent enough to disable auto-scroll only when the user has intentionally scrolled up from the bottom of the window. This is how many other LLM chat interfaces work. That way, if the current scroll position is at the bottom of the stream, then the auto-scroll will stay active because it's safe to assume the user wants to see the real-time stream. But if the user has moved the scroll position to a previous point in the stream, then the assumption should be that the user wants auto-scroll to be disabled.

@JuliaBonita commented on GitHub (Jan 11, 2026): Ideally, this feature would be intelligent enough to disable auto-scroll only when the user has intentionally scrolled up from the bottom of the window. This is how many other LLM chat interfaces work. That way, if the current scroll position is at the bottom of the stream, then the auto-scroll will stay active because it's safe to assume the user wants to see the real-time stream. But if the user has moved the scroll position to a previous point in the stream, then the assumption should be that the user wants auto-scroll to be disabled.
Author
Owner

@JuliaBonita commented on GitHub (Feb 12, 2026):

This issue does not seem to happen when using Kimi K2.5, but it happens constantly with Claude. So it appears this is caused by how OC is interpreting and rendering Claude's (and mabye other models) specific responses. I notice that Kimi K2.5 streams its responses a bit differently; so it should be easy to visually see the difference.

@JuliaBonita commented on GitHub (Feb 12, 2026): This issue does not seem to happen when using Kimi K2.5, but it happens constantly with Claude. So it appears this is caused by how OC is interpreting and rendering Claude's (and mabye other models) specific responses. I notice that Kimi K2.5 streams its responses a bit differently; so it should be easy to visually see the difference.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4641