anomalyco / anomalyco/opencode
在使用CUI过程中,windwos 11 x64,不管是CMD还是PowerShell 都会出现异常退出,然后乱码情况。
Open
@Hona is already working on this.
Since Aug 31, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
以上是截图,用着用着就突然断开,然后乱码,无法再次进入,鼠标移动到命令行就乱码。CMD和PowerShell都会这样。
这是问题1,问题2:有时候也会出现编码错误,一会儿用utf8,一会儿GBK,似乎取决于命令行模式一样。这个也建议修复下,统一utf8的文件编码。
Plugins
无
OpenCode version
1.18.25
Steps to reproduce
正常使用就会出现。莫名其妙的出现,无规律。
Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
Terminal,PowerShell
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.