opentui: Strange characters appear between Chinese characters #2521

Closed
opened 2026-02-16 17:36:05 -05:00 by yindo · 4 comments
Owner

Originally created by @Peng-YM on GitHub (Nov 3, 2025).

Originally assigned to: @kommander on GitHub.

Description

Image Image

OpenCode version

1.0.15

Steps to reproduce

Simply send any Chinese instructions to OpenCode

Screenshot and/or share link

No response

Operating System

Mac OS 15.5 (24F74)

Terminal

Warp

Originally created by @Peng-YM on GitHub (Nov 3, 2025). Originally assigned to: @kommander on GitHub. ### Description <img width="1135" height="510" alt="Image" src="https://github.com/user-attachments/assets/9ab965c9-f6f1-4f85-a5d2-bb0e1600cc44" /> <img width="903" height="387" alt="Image" src="https://github.com/user-attachments/assets/4d8daa6b-ab8c-434d-ab83-89d3b7ec3c13" /> ### OpenCode version 1.0.15 ### Steps to reproduce Simply send any Chinese instructions to OpenCode ### Screenshot and/or share link _No response_ ### Operating System Mac OS 15.5 (24F74) ### Terminal Warp
yindo added the opentuibug labels 2026-02-16 17:36:05 -05:00
yindo closed this issue 2026-02-16 17:36:05 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 3, 2025):

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

  • #3734: CJK characters break some features like @ mentions - This issue describes problems with CJK (Chinese, Japanese, Korean) character handling in opentui, including cursor positioning issues
  • #3493: Korean (Hangul) characters display as broken/garbled in input field - This issue reports similar display problems with Korean characters appearing broken/garbled in the input field

Both issues involve CJK character display problems in opentui, similar to the strange characters appearing between Chinese characters reported here.

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Nov 3, 2025): This issue might be a duplicate of existing issues. Please check: - #3734: CJK characters break some features like `@` mentions - This issue describes problems with CJK (Chinese, Japanese, Korean) character handling in opentui, including cursor positioning issues - #3493: Korean (Hangul) characters display as broken/garbled in input field - This issue reports similar display problems with Korean characters appearing broken/garbled in the input field Both issues involve CJK character display problems in opentui, similar to the strange characters appearing between Chinese characters reported here. Feel free to ignore if none of these address your specific case.
Author
Owner

@kommander commented on GitHub (Nov 3, 2025):

I am looking into this.

@kommander commented on GitHub (Nov 3, 2025): I am looking into this.
Author
Owner

@zenyr commented on GitHub (Nov 4, 2025):

Related opentui issue:

@zenyr commented on GitHub (Nov 4, 2025): Related opentui issue: - sst/opentui#255 - sst/opentui#262 - (includes grapheme test, albeit skipped)
Author
Owner

@Peng-YM commented on GitHub (Nov 26, 2025):

This issue seems to have been fixed in the latest version, thank you for your great work!

@Peng-YM commented on GitHub (Nov 26, 2025): This issue seems to have been fixed in the latest version, thank you for your great work!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2521