opencode icon indicating copy to clipboard operation
opencode copied to clipboard

opentui: Strange characters appear between Chinese characters

Open Peng-YM opened this issue 2 months ago • 3 comments

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

Peng-YM avatar Nov 03 '25 12:11 Peng-YM

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] avatar Nov 03 '25 12:11 github-actions[bot]

I am looking into this.

kommander avatar Nov 03 '25 13:11 kommander

Related opentui issue:

  • sst/opentui#255
    • sst/opentui#262
    • (includes grapheme test, albeit skipped)

zenyr avatar Nov 04 '25 12:11 zenyr