Chat UI breaks with mixed Persian/Arabic (RTL) + English (LTR) text

Hey @Pooria_Monfared,

Cursor’s chat/agent renderer doesn’t currently do bidirectional (BiDi) text handling, so the whole message stays left-aligned and neutral characters (؟ / + =) plus English tokens take their direction from the surrounding left-to-right container instead of your Persian sentence. That’s why punctuation lands on the wrong side and the word order scrambles, for both your messages and the model’s markdown replies.

This is a known gap that’s come up a fair bit, and it’s on our radar — there’s no implementation timeline yet, mostly because getting mixed LTR/RTL right alongside code blocks and markdown is trickier than a plain dir="auto". The best place to follow it and add your voice is the main request thread: Add RTL for chat. More interest there genuinely helps us prioritize.

In the meantime, a few community members have shared RTL workaround extensions in that thread that auto-align chat based on the detected language. They help in the Chat and Plan panels - heads-up that they reportedly don’t fully cover the Agents window yet.

Appreciate the clear report!