opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Unicode character in line causing rendering to count characters incorrectly

Open GrahamCampbell opened this issue 4 weeks ago • 2 comments

Description

Unicode character in line causing rendering to break. See the screenshot, showing the g at the end of Handling missing.

OpenCode version

1.0.167

Steps to reproduce

No response

Screenshot and/or share link

Image

Operating System

macOS 26.2

Terminal

No response

GrahamCampbell avatar Dec 18 '25 21:12 GrahamCampbell

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

  • #3493: Korean (Hangul) characters display as broken/garbled in input field
  • #3734: CJK characters break some features like @ mentions
  • #2904: Icons/Unicode characters cause file editing failures
  • #2593: opencode produces garbled text when input containing non-ascii characters
  • #3814: Strange characters appear between Chinese characters
  • #2920: TUI editor hides some double-byte characters in the input field

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

github-actions[bot] avatar Dec 18 '25 21:12 github-actions[bot]

I fixed this in opentui. Will be in opencode tomorrow.

kommander avatar Dec 18 '25 22:12 kommander