anomalyco / anomalyco/opencode
Mouse scroll wheel scrolls command history instead of screen content when connected via SSH (Ubuntu 22.04)
Open
@kommander is already working on this.
Since Jul 27, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
When I use opencode over an SSH connection to an Ubuntu 22.04 server, the mouse scroll wheel does not scroll the screen content up and down. Instead, it scrolls through the command/input history, behaving as if the Pg Up and Pg Dn keys were pressed.
This makes it impossible to read long output or browse previous content on the screen using the mouse wheel.
Plugins
No response
OpenCode version
No response
Steps to reproduce
- SSH into a remote Ubuntu 22.04 server (e.g., ssh user@server).
- Launch opencode in the terminal.
- Perform any action that produces output longer than one screen.
- Use the mouse scroll wheel to try to scroll through the screen content.
Screenshot and/or share link
No response
Operating System
ubuntu22.04
Terminal
mobaxterm
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.