Skip to content

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

Closed as not planned

Description

@baigongli

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

Activity

  1. github-actions commented on Jul 27, 2026

    @github-actions
    Contributor

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

    Please review that issue and add a comment there if your situation matches, or clarify here how your case differs (e.g., mouse is not explicitly disabled in your config).

  2. github-actions commented on Sep 25, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions