Chinese output occasionally renders duplicated characters and misaligned layout in Ghostty (macOS) #5243

Open
opened 2026-02-16 17:50:23 -05:00 by yindo · 0 comments
Owner

Originally created by @burugo on GitHub (Jan 13, 2026).

Originally assigned to: @kommander on GitHub.

Description

• Issue: Only in Chinese chats, output sometimes shows duplicated/incorrect characters and layout
misalignment; e.g. “响应里” renders as “响响里” (example only). English chats have not
reproduced.
• Expected: Chinese text renders correctly with stable layout.
• Notes: Intermittent; likely related to CJK width/rendering handling.

Plugins

No response

OpenCode version

1.1.16

Steps to reproduce

It cannot be reproduced stably

Screenshot and/or share link

Image

Operating System

  • macOS

Terminal

  • Ghostty
Originally created by @burugo on GitHub (Jan 13, 2026). Originally assigned to: @kommander on GitHub. ### Description • Issue: Only in Chinese chats, output sometimes shows duplicated/incorrect characters and layout misalignment; e.g. “响应里” renders as “响响里” (example only). English chats have not reproduced. • Expected: Chinese text renders correctly with stable layout. • Notes: Intermittent; likely related to CJK width/rendering handling. ### Plugins _No response_ ### OpenCode version 1.1.16 ### Steps to reproduce It cannot be reproduced stably ### Screenshot and/or share link <img width="803" height="268" alt="Image" src="https://github.com/user-attachments/assets/6c1987a2-2f73-4fe6-8fe5-ae7d7b8a34bd" /> ### Operating System - macOS ### Terminal - Ghostty
yindo added the opentuibug labels 2026-02-16 17:50:23 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#5243