Describe the Bug
When writing Arabic (RTL) text with embedded English (LTR) words in Cursor Chat, the visual rendering order is sometimes incorrect. The logical text is correct, but displayed word positions can appear shifted/reversed.
Steps to Reproduce:
- Open Cursor Chat.
- Send a message that mixes Arabic and English in one line.
- Observe rendered order.
Actual Result:
Mixed RTL/LTR text appears visually reordered in some cases, especially when English appears near line boundaries.
Expected Result:
Text should render in stable readable order according to Unicode BiDi rules.
Incorrect visual example (what appears on screen):
English هذا مثال عربي داخل نفس السطر
Correct expected reading/order:
هذا مثال عربي داخل نفس السطر English
Another incorrect visual pattern:
في نفس السطر بدون أي وسوم English هذا مثال عربي مع
Correct expected pattern:
في نفس السطر بدون أي وسوم هذا مثال عربي مع English
Notes:
- The issue is rendering-related (display order), not input correctness.
- Tried punctuation and multiple formatting workarounds; issue persists.
- This looks like a BiDi handling problem in chat rendering.
Steps to Reproduce
- Open Cursor IDE and go to Chat.
- Use Arabic as the main sentence language.
- Send a mixed RTL/LTR line, for example:
هذا مثال عربي مع English في نفس السطر - Send another mixed line where English appears at the end:
هذا مثال عربي في نفس السطر English - Compare how the message is displayed after sending.
- Observe that the visual order may be incorrect (English appears in an unexpected position).
Operating System
MacOS
Version Information
- Cursor IDE Version: 2.5.17
- OS: macOS (Darwin 25.3.0)
- Platform: Desktop (Electron-based app)
- Issue Area: Cursor Chat (message rendering)
- Language Context: Arabic (RTL) + English (LTR) mixed text
Does this stop you from using Cursor
Yes - Cursor is unusable