Skip to content

Mouse wheel stops working after some usage on Windows Terminal #7316

Closed as not planned

Description

@hhyeon0306

Description

Mouse wheel scrolling works initially but becomes completely unresponsive after using opencode for a while. Once it stops working, I cannot scroll up to view source code or chat history.

Environment

  • OS: Windows 11
  • Terminal: Windows Terminal

Steps to Reproduce

  1. Launch opencode in Windows Terminal
  2. Use it normally for some time (chatting, viewing code, etc.)
  3. Try to scroll with mouse wheel

Expected Behavior

Mouse wheel should continue to scroll the content (chat history, source code view).

Actual Behavior

Mouse wheel stops responding entirely. Cannot scroll up to see previous messages or code.

Additional Context

  • Wheel works fine initially
  • After some usage, it suddenly stops working
  • No specific action triggers the issue - it just stops at some point

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 8, 2026
  2. github-actions commented on Jan 8, 2026

    @github-actions
    Contributor

    This issue might be a duplicate or related to existing mouse/input responsiveness issues on Windows Terminal. Please check:

    These issues all involve input/mouse responsiveness issues in the TUI on Windows Terminal and similar environments. The mouse wheel becoming unresponsive could be related to the mouse tracking system not properly handling state after extended use.

    Feel free to ignore if your specific case differs from these issues.

  3. wwhhgg11 commented on Jan 14, 2026

    @wwhhgg11

    May I ask if you have solved this problem? I also had the same problem and couldn't use the mouse wheel to swipe and view the context

  4. elv1n commented on Jan 16, 2026

    @elv1n

    The same happens on Macos in iTerm.

    Screen.Recording.2026-01-16.at.10.29.08.mov
  5. samcarton commented on Feb 20, 2026

    @samcarton

    I get the same thing. It's like the mouse inputs fail to register after a while - can't scroll, can't click on anything.
    This happens to me in windows terminal (git bash), and also in alacritty (git bash).

  6. BrettFraley commented on Mar 2, 2026

    @BrettFraley

    Chiming in to report the same issue as well.

  7. misterdojo777 commented on Mar 7, 2026

    @misterdojo777

    same issue and it's persistent across all opencode sessions. Been happening since a few weeks.
    Page Up and Page Down keys still work.

  8. codewkr commented on Apr 22, 2026

    @codewkr

    same issue on alacritty when use opencode-cli.exe on windows 10

  9. removed
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on May 3, 2026
  10. github-actions commented on Jul 3, 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