BiDi rendering bug: Hebrew + English mixed text appears in wrong visual order in responses
Description
When Claude Code generates responses that mix Hebrew and English text on the same line, the visual rendering order is incorrect. Hebrew text and English terms appear reversed or jumbled due to BiDi (bidirectional text) rendering issues in the terminal/output.
Steps to Reproduce
- Use Claude Code in a Hebrew-language context
- Ask Claude any question that results in a response mixing Hebrew and English words on the same line
- Observe the output
Expected Behavior
Hebrew text flows right-to-left, English terms on the same line should appear in their correct logical position without disrupting the flow.
Actual Behavior
Mixed Hebrew+English lines are displayed in the wrong visual order. English words jump to the wrong side of the line, making the text unreadable.
Workaround
A partial workaround is to enforce a rule where every English term must appear on its own separate line. This is unnatural and forces undesirable formatting.
Context
This was previously reported as issue #35874, which was closed as not planned due to inactivity, not because it was fixed. The bug is still reproducible and actively affects Hebrew-speaking users.
Environment
- OS: macOS
- Shell: zsh
- Language: Hebrew (RTL)
Additional Notes
This affects any RTL language user (Hebrew, Arabic, etc.) and significantly degrades the usability of Claude Code for non-English speakers.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗