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
Chat history scroll regression — trackpad/keyboard only scrolls input history #25931
Chat history scrolling is broken in the TUI. Previously, scrolling with the trackpad or keyboard would scroll through the conversation history. Now,
scrolling only moves through previously typed input (command history), not the chat messages above.
Plugins
No response
OpenCode version
1.14.39
Steps to reproduce
Open OpenCode in a terminal (tested in both Ghostty and VS Code integrated terminal)
Have a conversation with several messages
Try to scroll up to see earlier messages using trackpad or keyboard
Screenshot and/or share link
Expected behavior:
Scrolling up moves through the chat message history
Actual behavior:
Scrolling only cycles through previously typed input — chat history is inaccessible
Operating System
macOS
Terminal
Ghostty, VSCode
Reacted by makstron, tomasz-kulka-esatto, Grzegorz Blach, Karan Shah, Blaine Motsinger, Josip Križan, wfjack and Ro Pi
I’m seeing the same behavior in OpenCode Desktop’s embedded terminal on macOS.
Scrolling with the trackpad does not move the terminal output. Instead, it cycles backward and forward through the input history. The terminal displays this message:
Scroll wheel is sending arrow keys · use PgUp/PgDn to scroll
Fn + Up/Down works as a keyboard workaround. I also verified that OPENCODE_DISABLE_MOUSE is not set in my environment or OpenCode configuration.
Normal trackpad scrolling in the embedded terminal would be much more intuitive.
Activity
github-actions commentedon May 5, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is indeed the same, please add a reaction or comment on the existing issue instead.
github-actions commentedon Jul 5, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.
zzy-818 commentedon Jul 23, 2026
考虑一下是不是环境变量OPENCODE_DISABLE_MOUSE=TRUE导致 将它删掉重启终端就好了
codeplaygroundspace commentedon Sep 4, 2026
I’m seeing the same behavior in OpenCode Desktop’s embedded terminal on macOS.
Scrolling with the trackpad does not move the terminal output. Instead, it cycles backward and forward through the input history. The terminal displays this message:
Scroll wheel is sending arrow keys · use PgUp/PgDn to scrollFn + Up/Downworks as a keyboard workaround. I also verified thatOPENCODE_DISABLE_MOUSEis not set in my environment or OpenCode configuration.Normal trackpad scrolling in the embedded terminal would be much more intuitive.