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

Open
opened 2026-02-16 17:43:45 -05:00 by yindo · 3 comments
Owner

Originally created by @hhyeon0306 on GitHub (Jan 8, 2026).

Originally assigned to: @kommander on GitHub.

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
Originally created by @hhyeon0306 on GitHub (Jan 8, 2026). Originally assigned to: @kommander on GitHub. ## 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
yindo added the windowsopentui labels 2026-02-16 17:43:45 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 8, 2026):

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

  • #6912: Ctrl+C does not disable mouse tracking, causing raw escape sequences to flood terminal (Windows)
  • #6901: TUI buffer not scrollable when permission is prompted
  • #6895: [Bug] TUI scroll position resets to session start after approving commands that exceed terminal height
  • #7297: CLI input issues on WSL Ubuntu: no multiline input and copy/paste not working
  • #7240: Typing in the prompt input pauses echoing characters occasionally

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.

@github-actions[bot] commented on GitHub (Jan 8, 2026): This issue might be a duplicate or related to existing mouse/input responsiveness issues on Windows Terminal. Please check: - #6912: Ctrl+C does not disable mouse tracking, causing raw escape sequences to flood terminal (Windows) - #6901: TUI buffer not scrollable when permission is prompted - #6895: [Bug] TUI scroll position resets to session start after approving commands that exceed terminal height - #7297: CLI input issues on WSL Ubuntu: no multiline input and copy/paste not working - #7240: Typing in the prompt input pauses echoing characters occasionally 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.
Author
Owner

@wwhhgg11 commented on GitHub (Jan 13, 2026):

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

@wwhhgg11 commented on GitHub (Jan 13, 2026): 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
Author
Owner

@elv1n commented on GitHub (Jan 16, 2026):

The same happens on Macos in iTerm.

https://github.com/user-attachments/assets/cef2ea36-0394-498c-a03c-9e128cf55e08

@elv1n commented on GitHub (Jan 16, 2026): The same happens on Macos in iTerm. https://github.com/user-attachments/assets/cef2ea36-0394-498c-a03c-9e128cf55e08
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4427