The terminal displays garbled characters. #7809

Open
opened 2026-02-16 18:08:18 -05:00 by yindo · 2 comments
Owner

Originally created by @jerrod-ji on GitHub (Jan 28, 2026).

Originally assigned to: @kommander on GitHub.

Description

When I exit opencode with the /exit command, garbled characters keep printing in the terminal.
Image

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @jerrod-ji on GitHub (Jan 28, 2026). Originally assigned to: @kommander on GitHub. ### Description When I exit opencode with the /exit command, garbled characters keep printing in the terminal. <img width="606" height="75" alt="Image" src="https://github.com/user-attachments/assets/e959b8f5-6cf9-45db-8127-b8091109d49d" /> ### Plugins _No response_ ### OpenCode version _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the opentuibug labels 2026-02-16 18:08:18 -05:00
Author
Owner

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

This issue might be a duplicate of existing issues. Please check:

  • #10414: OpenCode crashes during use on Windows (garbled console output)
  • #9183: Bug: Ctrl+C causes serialization issues in CLI TUI version
  • #8715: Opencode Windows Character Spamming
  • #10538: Ctrl-C doesn't clear the input on Windows, it crashes
  • #8908: In version 1.1.23, the issue of the mouse wheel triggering abnormal ASCII codes after exiting reappeared
  • #9814: Garbled characters appear after launching the program on Windows system
  • #8614: opencode mcp add then move my mouse, the input mixed

These issues all describe similar symptoms of garbled/ANSI characters appearing in the terminal after exit or during specific operations. Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 28, 2026): This issue might be a duplicate of existing issues. Please check: - #10414: OpenCode crashes during use on Windows (garbled console output) - #9183: Bug: Ctrl+C causes serialization issues in CLI TUI version - #8715: Opencode Windows Character Spamming - #10538: Ctrl-C doesn't clear the input on Windows, it crashes - #8908: In version 1.1.23, the issue of the mouse wheel triggering abnormal ASCII codes after exiting reappeared - #9814: Garbled characters appear after launching the program on Windows system - #8614: opencode mcp add then move my mouse, the input mixed These issues all describe similar symptoms of garbled/ANSI characters appearing in the terminal after exit or during specific operations. Feel free to ignore if none of these address your specific case.
Author
Owner

@haimu0427 commented on GitHub (Jan 28, 2026):

I have this problem with powershell on my windows too!

@haimu0427 commented on GitHub (Jan 28, 2026): I have this problem with powershell on my windows too!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7809