Unicode character in line causing rendering to count characters incorrectly #3650

Open
opened 2026-02-16 17:41:00 -05:00 by yindo · 2 comments
Owner

Originally created by @GrahamCampbell on GitHub (Dec 18, 2025).

Originally assigned to: @kommander on GitHub.

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

Originally created by @GrahamCampbell on GitHub (Dec 18, 2025). Originally assigned to: @kommander on GitHub. ### 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 <img width="972" height="1088" alt="Image" src="https://github.com/user-attachments/assets/870e52fc-0571-4698-9407-81938d07c5e3" /> ### Operating System macOS 26.2 ### Terminal _No response_
yindo added the opentuibug labels 2026-02-16 17:41:00 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 18, 2025):

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] commented on GitHub (Dec 18, 2025): 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.
Author
Owner

@kommander commented on GitHub (Dec 18, 2025):

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

@kommander commented on GitHub (Dec 18, 2025): I fixed this in opentui. Will be in opencode tomorrow.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3650