opentui: Unable to input Chinese characters #2259

Closed
opened 2026-02-16 17:34:51 -05:00 by yindo · 6 comments
Owner

Originally created by @Peng-YM on GitHub (Oct 24, 2025).

Originally assigned to: @thdxr on GitHub.

Description

As the title says, after switching to the opentui version, I am unable to input any Chinese characters in the terminal, which was not an issue in the previous versions. I tried multiple terminal emulators and various input methods, but none of them worked.

OpenCode version

opentui version

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @Peng-YM on GitHub (Oct 24, 2025). Originally assigned to: @thdxr on GitHub. ### Description As the title says, after switching to the opentui version, I am unable to input any Chinese characters in the terminal, which was not an issue in the previous versions. I tried multiple terminal emulators and various input methods, but none of them worked. ### OpenCode version opentui version ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the opentuibug labels 2026-02-16 17:34:51 -05:00
yindo closed this issue 2026-02-16 17:34:51 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 24, 2025):

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

  • #2920: TUI editor hides some double-byte characters in the input field (specifically mentions CJK characters not being visible in the input field)
  • #3260: Language environment UI display issues (reports UI breaking when using zh_CN.UTF-8 locale with character display problems)
  • #165: Can't Input Chinese (describes inability to input Chinese characters, where IME panel never shows up)

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

@github-actions[bot] commented on GitHub (Oct 24, 2025): This issue might be a duplicate of existing issues. Please check: - #2920: TUI editor hides some double-byte characters in the input field (specifically mentions CJK characters not being visible in the input field) - #3260: Language environment UI display issues (reports UI breaking when using zh_CN.UTF-8 locale with character display problems) - #165: Can't Input Chinese (describes inability to input Chinese characters, where IME panel never shows up) Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Oct 24, 2025):

Thanks for letting us know

@rekram1-node commented on GitHub (Oct 24, 2025): Thanks for letting us know
Author
Owner

@Peng-YM commented on GitHub (Oct 24, 2025):

The new opentui version looks very beautiful, hoping to solve this problem as soon as possible

@Peng-YM commented on GitHub (Oct 24, 2025): The new opentui version looks very beautiful, hoping to solve this problem as soon as possible
Author
Owner

@CG-man commented on GitHub (Oct 27, 2025):

When I was using Chinese input in the opentui version, I also encountered the same problem. I hope the author can support Chinese input as soon as possible. Thank you

@CG-man commented on GitHub (Oct 27, 2025): When I was using Chinese input in the opentui version, I also encountered the same problem. I hope the author can support Chinese input as soon as possible. Thank you
Author
Owner

@kommander commented on GitHub (Oct 31, 2025):

Is it better now in the latest version? I tweaked Unicode handling in the Textarea.

@kommander commented on GitHub (Oct 31, 2025): Is it better now in the latest version? I tweaked Unicode handling in the Textarea.
Author
Owner

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

Is it better now in the latest version? I tweaked Unicode handling in the Textarea.

Image

The latest version works good on my device! Thank you very much!

@Peng-YM commented on GitHub (Nov 1, 2025): > Is it better now in the latest version? I tweaked Unicode handling in the Textarea. <img width="988" height="557" alt="Image" src="https://github.com/user-attachments/assets/a6474417-b20b-47eb-959b-c296ff49f0fe" /> The latest version works good on my device! Thank you very much!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2259