[BUG] Arabic (RTL) text is reversed/mirrored in VSCode extension

Resolved 💬 3 comments Opened Mar 4, 2026 by MustafaFront Closed Mar 8, 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?

Arabic (RTL) text appears reversed/mirrored in the Claude Code VSCode extension - both in the input field and in the response output panel.

Steps to Reproduce

  1. Open Claude Code VSCode extension
  2. Type any Arabic text (e.g. "مرحبا بالعالم")
  3. Text appears reversed (LTR instead of RTL)
  4. Claude's response also shows Arabic text reversed

Expected Behavior

Arabic text should render right-to-left (RTL) correctly.

Suggested Fix

Add dir="auto" to the input textarea and response container elements.

Environment

  • OS: Windows 11
  • Language: Arabic (ar)

What Should Happen?

Arabic (RTL) text appears reversed/mirrored in the Claude Code VSCode extension - both in the input field and in the response output panel.

Steps to Reproduce

  1. Open Claude Code VSCode extension
  2. Type any Arabic text (e.g. "مرحبا بالعالم")
  3. Text appears reversed (LTR instead of RTL)
  4. Claude's response also shows Arabic text reversed

Expected Behavior

Arabic text should render right-to-left (RTL) correctly.

Suggested Fix

Add dir="auto" to the input textarea and response container elements.

Environment

  • OS: Windows 11
  • Language: Arabic (ar)

Error Messages/Logs

1. Open Claude Code VSCode extension
2. Type any Arabic text (e.g. "مرحبا بالعالم")
3. Text appears reversed (LTR instead of RTL)
4. Claude's response also shows Arabic text reversed

Steps to Reproduce

  1. Open Claude Code VSCode extension
  2. Type any Arabic text (e.g. "مرحبا بالعالم")
  3. Text appears reversed (LTR instead of RTL)
  4. Claude's response also shows Arabic text reversed

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.63 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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