bug: scroll speed change broke scrolling #1322

Closed
opened 2026-02-16 17:30:26 -05:00 by yindo · 9 comments
Owner

Originally created by @rekram1-node on GitHub (Aug 15, 2025).

Originally assigned to: @rekram1-node on GitHub.

Originally created by @rekram1-node on GitHub (Aug 15, 2025). Originally assigned to: @rekram1-node on GitHub.
yindo closed this issue 2026-02-16 17:30:26 -05:00
Author
Owner

@rekram1-node commented on GitHub (Aug 15, 2025):

fixed by: https://github.com/sst/opencode/pull/1974

waiting for it to release

@rekram1-node commented on GitHub (Aug 15, 2025): fixed by: https://github.com/sst/opencode/pull/1974 waiting for it to release
Author
Owner

@github-actions[bot] commented on GitHub (Aug 15, 2025):

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

  • #1975: ctrl + arrow key no longer moves word-to-word - appears to be related keyboard navigation functionality being broken in recent releases

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

@github-actions[bot] commented on GitHub (Aug 15, 2025): This issue might be a duplicate of existing issues. Please check: - #1975: ctrl + arrow key no longer moves word-to-word - appears to be related keyboard navigation functionality being broken in recent releases Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Aug 15, 2025):

For anyone that sees this, work around for time being add this to your opencode config:

"tui": {
   "scroll_speed": 2
  },

cc @Pedro-Revez-Silva @nickpoorman

@rekram1-node commented on GitHub (Aug 15, 2025): For anyone that sees this, work around for time being add this to your opencode config: ```json "tui": { "scroll_speed": 2 }, ``` cc @Pedro-Revez-Silva @nickpoorman
Author
Owner

@rekram1-node commented on GitHub (Aug 15, 2025):

fixed in latest release

@rekram1-node commented on GitHub (Aug 15, 2025): fixed in latest release
Author
Owner

@JuliaBonita commented on GitHub (Sep 9, 2025):

When I add scroll_speed = 1 to the tui file, it is automatically deleted every time I launch OpenCode. If this doesn't work, what else can I do to fix the crazy-fast scroll speed?

@JuliaBonita commented on GitHub (Sep 9, 2025): When I add `scroll_speed = 1` to the tui file, it is automatically deleted every time I launch OpenCode. If this doesn't work, what else can I do to fix the crazy-fast scroll speed?
Author
Owner

@rekram1-node commented on GitHub (Sep 9, 2025):

dont put it in tui file put it in global opencode.json

@rekram1-node commented on GitHub (Sep 9, 2025): dont put it in tui file put it in global opencode.json
Author
Owner

@JuliaBonita commented on GitHub (Sep 10, 2025):

Thank you, but it doesn't seem to have any effect when opening OpenCode in the Zed IDE's terminal. I'm trying to use OpenCode without leaving Zed. Does anybody know how to fix this in the Zed terminal?

@JuliaBonita commented on GitHub (Sep 10, 2025): Thank you, but it doesn't seem to have any effect when opening OpenCode in the Zed IDE's terminal. I'm trying to use OpenCode without leaving Zed. Does anybody know how to fix this in the Zed terminal?
Author
Owner

@rekram1-node commented on GitHub (Sep 10, 2025):

I use opencode in zed terminal about half the time and it definitely makes a difference for me, did you restart opencode after updating global configuration?

Bubbletea has 1 configuration for scrolling afaik and that’s it

maybe opentui will make this better (migration should be done this week)

@rekram1-node commented on GitHub (Sep 10, 2025): I use opencode in zed terminal about half the time and it definitely makes a difference for me, did you restart opencode after updating global configuration? Bubbletea has 1 configuration for scrolling afaik and that’s it maybe opentui will make this better (migration should be done this week)
Author
Owner

@JuliaBonita commented on GitHub (Sep 10, 2025):

After comparing the before and after scroll behavior for a while, I can see it does make a little difference on my machine in Zed, but it still requires me to move my fingers very subtly, slowly and unnaturally over my Macbook trackpad.

The OpenCode scrolling is perfect in WezTerm and other terminals, but in Zed the scrolling speeds up 3-5x faster than it does in any other Zed terminal that I have open, which makes it difficult to control and uncomfortable to use with Zed. All other terminals that I open in the Zed terminal (including Claude Code, Gemini, normal directory browsing, etc.) have a much slower scrolling speed, but as soon as I launch OpenCode in a Zed terminal, that specific terminal's scrolling behavior is suddenly 3-5x faster than any other terminal that I have open in Zed. This makes it unusable for me in Zed.

@JuliaBonita commented on GitHub (Sep 10, 2025): After comparing the before and after scroll behavior for a while, I can see it does make a little difference on my machine in Zed, but it still requires me to move my fingers very subtly, slowly and unnaturally over my Macbook trackpad. The OpenCode scrolling is perfect in WezTerm and other terminals, but in Zed the scrolling speeds up 3-5x faster than it does in any other Zed terminal that I have open, which makes it difficult to control and uncomfortable to use with Zed. All other terminals that I open in the Zed terminal (including Claude Code, Gemini, normal directory browsing, etc.) have a much slower scrolling speed, but as soon as I launch OpenCode in a Zed terminal, that specific terminal's scrolling behavior is suddenly 3-5x faster than any other terminal that I have open in Zed. This makes it unusable for me in Zed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1322