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
This issue appears to report a bug where copying generated content (ctrl+c) in OpenCode causes the program to interrupt and begin generating unexpected symbols.
Status: This issue is compliant with contributing guidelines - it includes a Bug Report template with:
Description (with screenshot)
Reproduction steps
Operating system and terminal information
OpenCode version
Note: While the issue follows the template correctly, if you encounter this again, please provide additional details such as:
Any error messages displayed
Whether this happens with specific model providers or all providers
If there are any terminal logs that might help diagnose the behavior
Activity
github-actions commentedon Feb 12, 2026
Summary
This issue appears to report a bug where copying generated content (ctrl+c) in OpenCode causes the program to interrupt and begin generating unexpected symbols.
Status: This issue is compliant with contributing guidelines - it includes a Bug Report template with:
Note: While the issue follows the template correctly, if you encounter this again, please provide additional details such as:
yunshou79 commentedon Feb 12, 2026
我已经中断了opencode的执行,但是终端还是会生成这些内容
kznr02 commentedon Feb 12, 2026
这个是终端应用没有正常退出raw模式大概?所有捕获的输入都会以代码的形式输出,并且opencode不支持cv复制,你需要右键选择复制或者高亮文字后右键,否则就会直接退出。
btw 你的issue标题应该直接包含问题。
[-]貌似是一个bug,但是不太确定的[/-][+]ctrl+c无法终止程序[/+]yunshou79 commentedon Feb 12, 2026
ok,我已修改我的issue,但是确实是像一个bug,ctrl+c无法终止程序的,这个会持续生成
dcc123456 commentedon Mar 30, 2026
我也遇到这个问题了,不能停止
fix: restore terminal state on exit to prevent mouse escape sequence …
github-actions commentedon Jul 3, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.