Skip to content

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

@uriva

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

Metadata

Metadata

Assignees

Labels

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

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions