opencode icon indicating copy to clipboard operation
opencode copied to clipboard

[FEATURE]: Support for RTL languages

Open tsah opened this issue 3 weeks ago • 2 comments

Feature hasn't been suggested before.

  • [x] I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

When typing an RTL (right to left) language (such as Arabic) in the input field, or when agent replies in RTL language, the text is styled as LTR, and the characters are reversed.

Suggested solution: if the first character is detected to be from RTL language, switch to RTL styling for the message/input box

Image

(the answer in the image should have been مرحبا)

tsah avatar Dec 28 '25 08:12 tsah

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

  • #5833: Internationalization (i18n) support for Traditional Chinese - related internationalization work
  • #3404: opentui: Unable to input Chinese characters - related character input issues
  • #2920: TUI editor hides some double-byte characters in the input field - related multi-byte character display issues

While these are related internationalization efforts, they address different aspects (input capability, character visibility) rather than text directionality. If this is specifically about RTL text direction handling (not just character support), it appears to be a unique feature request.

Feel free to ignore if these don't address your specific RTL styling requirement.

github-actions[bot] avatar Dec 28 '25 08:12 github-actions[bot]

Would be great to have this feature. It is the only thing separating my non-english speaking coworkers from using this great tool.

glorious73 avatar Jan 13 '26 19:01 glorious73