Skip to content

RTL support: text wrongly indented and font is hard to read #22076

Closed as duplicate

Description

@uriva

Description

When using OpenCode with RTL (Right-to-Left) languages, there are two issues:

  1. Text is wrongly indented — RTL text does not align correctly, causing indentation/layout problems in the terminal output.
  2. Font is very hard to read — The rendered text in RTL mode is difficult to read, likely due to font rendering or character spacing issues in the TUI.

Expected behavior

  • RTL text should be properly right-aligned and indented correctly.
  • RTL text should be rendered in a legible, readable manner.

Environment

  • Tool: OpenCode CLI

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Apr 11, 2026
  2. github-actions commented on Apr 11, 2026

    @github-actions
    Contributor

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

    Please review these issues and consider adding your details there instead if they cover the same problem.

  3. ofir09 commented on May 2, 2026

    @ofir09

    Yes, please do it, you have a lot of demand for it.

  4. Musa85 commented on Jul 4, 2026

    @Musa85

    Detailed root-cause analysis and a fully tested fix recipe (CSS/JS, with before/after screenshots on Desktop 1.17.13) is available in #35319 — covers word ordering, alignment, and table column direction for Arabic/RTL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

opentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions