You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TUI not responding and mapping mouse as keyboard in the console #46216
It suddenly started to map my mouse as a keyboard, each movement is converted into a number and printed in the console.
Plugins
None
OpenCode version
1.18.25
Steps to reproduce
This thing happen very often and produces very randomly, I've not found a solution to reproduce it. This happen very often when you uses it for large tasks
The root cause described in #34940 is that the TUI fails to restore terminal state (release mouse capture, exit raw mode) on crash or unclean exit, causing mouse movements to be printed as escape sequences. Your issue appears to describe the same underlying behavior.
Activity
github-actions commentedon Aug 30, 2026
This issue might be a duplicate of an existing issue. Please check:
The root cause described in #34940 is that the TUI fails to restore terminal state (release mouse capture, exit raw mode) on crash or unclean exit, causing mouse movements to be printed as escape sequences. Your issue appears to describe the same underlying behavior.
thdxr commentedon Oct 11, 2026
Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (
opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊