opencode
opencode copied to clipboard
Unicode character in line causing rendering to count characters incorrectly
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
Operating System
macOS 26.2
Terminal
No response
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.
I fixed this in opentui. Will be in opencode tomorrow.