Skip to content

[Feature]: Add bidi support #3564

Open
Open

Description

@MohamedElashri

Feature description

I would like to see support for bidirectional rendering for Arabic, Persian, and Hebrew, including mixed English and numbers, correct joining and combining marks, and consistent cursor, selection, copying, and search behavior. This would help developers working with these languages use the terminal in more effective way. As the current implementation does not make it possible to render those languages at all.

Implementation Suggestion

I have a working prototype using bidi-js and Chromium shaping through xterm’s DOM renderer. It preserves logical text, includes Vitest tests, and initially targets the normal screen. I’d appreciate feedback on the approach and private xterm hooks before submitting a PR. Would this be something of interest to the project?

Anything else?

No response

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriageNeeds triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions