Skip to content

Chat history scroll regression — trackpad/keyboard only scrolls input history #25931

Closed as not planned

Description

@yennie-dee

Description

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

  1. Open OpenCode in a terminal (tested in both Ghostty and VS Code integrated terminal)
  2. Have a conversation with several messages
  3. 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

Activity

  1. github-actions commented on May 5, 2026

    @github-actions
    Contributor

    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.

  2. github-actions commented on Jul 5, 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.

  3. zzy-818 commented on Jul 23, 2026

    @zzy-818

    考虑一下是不是环境变量OPENCODE_DISABLE_MOUSE=TRUE导致 将它删掉重启终端就好了

  4. codeplaygroundspace commented on Sep 4, 2026

    @codeplaygroundspace

    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.

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