anomalyco / anomalyco/opencode

Mouse scroll wheel scrolls command history instead of screen content when connected via SSH (Ubuntu 22.04)

Open
#39,029 1 comment 0 reactions 1 assignee View on GitHub

@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
  1. SSH into a remote Ubuntu 22.04 server (e.g., ssh user@server).
  2. Launch opencode in the terminal.
  3. Perform any action that produces output longer than one screen.
  4. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.