[BUG] RTL (Hebrew/Arabic) text renders reversed in VSCode extension

Resolved 💬 2 comments Opened Mar 4, 2026 by davidel8698-stack Closed Mar 4, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Hebrew text appears reversed/mirrored in both the input field and Claude's responses in the VSCode extension.

What I see:

  • Text typed in Hebrew appears backwards (left-to-right instead of right-to-left)
  • Claude's Hebrew responses also render reversed
  • This makes the extension unusable for Hebrew speakers

Expected behavior:
Hebrew text should render correctly from right-to-left, as it did in previous versions.

Note: The user reports this worked correctly before - suggesting a recent regression.

Environment:

  • Claude Code version: 2.1.49
  • VSCode (extension mode, not terminal)
  • Windows 10 Pro

Steps to Reproduce:

  1. Open Claude Code in VSCode extension mode
  2. Type any Hebrew text (e.g., "שלום עולם")
  3. Observe the text appears reversed in the input field
  4. Send the message
  5. Claude's Hebrew response also appears reversed

<img width="1317" height="485" alt="Image" src="https://github.com/user-attachments/assets/7c730d25-a301-485e-a04c-69f8236b299d" />

What Should Happen?

RTL (Right-to-Left) languages like Hebrew and Arabic should render correctly:

  • Input field text should display right-to-left
  • Claude's responses containing Hebrew should display right-to-left
  • Text direction should be detected automatically or respect Unicode bidirectional algorithm

Error Messages/Logs

No error messages - this is a visual rendering issue.
The text is stored correctly but displayed in reverse order.

Steps to Reproduce

  1. Open Claude Code in VSCode extension mode (not terminal)
  2. Type Hebrew text in the input field, e.g.: שלום עולם
  3. Observe: text appears reversed/mirrored (reads left-to-right instead of right-to-left)
  4. Send the message
  5. Ask Claude to respond in Hebrew
  6. Observe: Claude's Hebrew response also renders reversed

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

Unknown

Claude Code Version

2.1.49 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

  • This issue occurs specifically in the VSCode extension UI, not in terminal mode
  • Affects both input field and rendered responses
  • Hebrew text is stored correctly but displayed reversed
  • Other RTL languages (Arabic, Persian) are likely affected as well
  • Screenshots attached showing the issue

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗