Skip to content

OpenCode for macOS displays garbled characters upon exit. #15084

Closed as not planned

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.

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Feb 25, 2026
  2. github-actions commented on Feb 25, 2026

    @github-actions
    Contributor

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

    If this is the same issue, please consider commenting there instead.

  3. narukeu commented on Feb 25, 2026

    @narukeu
    Author

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

    If this is the same issue, please consider commenting there instead.

    This is not a Windows issue. I previously encountered an exit garbled characters problem on Windows 11 with Simplified Chinese, but that specific issue has already been resolved. Additionally, I did experience a similar issue on Ubuntu Server (roughly in the first half of this month), although I'm currently unable to reproduce it.

  4. kommander commented on Feb 27, 2026

    @kommander
    Contributor
  5. github-actions commented on Apr 29, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions