Skip to content

OpenCode for macOS displays garbled characters upon exit. #15084

@narukeu

Description

@narukeu

Description

Open OpenCode and press Ctrl-C to exit the program, I saw the meaningless characters "ppppp".

My OS language is set to Simplified Chinese. However, to my knowledge, the default encoding for macOS Terminal is UTF-8, so this shouldn't be an encoding issue (unlike the garbled text issue seen on Windows 11 with Simplified Chinese).

Plugins

None

OpenCode version

1.2.14

Steps to reproduce

No response

Screenshot and/or share link

Image Image

Operating System

macOS 26.3

Terminal

Terminal.app. I installed the latest version of Bash via Homebrew and set it as the default shell, without using zsh.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions