rtl-terminal

Reviewed at commit c057230

Lays out Arabic, Hebrew, Persian and Urdu replies and prompts right-to-left in Windows Terminal, conhost and VS Code's integrated terminal, with right-aligned…

Made by
MohammedSaud404
What we checked

Redraws Claude's replies and your prompts in the terminal with right-to-left layout for Arabic, Hebrew, Persian and Urdu, and shows a live preview of an RTL draft above the prompt box. It reads only your draft, Claude's reply text and a few terminal environment variables. It makes no network calls, runs no programs, and stores only its on/off settings.

Review details

Static review of the source at the pinned commit; not run. Registers session.start, command.run (rtl), prompt.edit and prompt.submit (read the draft text for the preview and pass the prompt through unchanged; failures fall back to next), and ui.render for AbovePrompt, AssistantMessage and UserMessage (re-lays out text on Windows Terminal, conhost and VS Code where Claude Code reorders rows; elsewhere it leaves rows to the terminal). Runtime calls: $.store get/set (isEnabled, isPreviewOn, mode), $.env.get for OS, TERM_PROGRAM, FORCE_HYPERLINK, WT_SESSION and TERMINAL_EMULATOR, $.prompt.read every 300 ms while a draft exists, $.ui.invalidate. This version adds link detection (shows URLs in brackets where links are not clickable) and handling of Latin-leading punctuation such as /rtl in RTL text. The bidi algorithm is a vendored copy of bidi-js, read as plain JavaScript with no network, eval or process use. Read in full: plugin.json, hooks.json, register.tsx, target.ts, wide.ts, and the diff from the previous review; markdown.ts, bidi.ts, preview.ts and the vendored bidi-js files (pure text layout and Unicode tables) were checked by targeted search for network, process, file and eval calls and skimmed in the changed parts.

What it uses
  • Reads your prompts: yes
  • Sees tool calls: no
  • Blocks or changes tool calls: no
  • Reads or writes files: no
  • Runs programs on your machine: no
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: yes
  • Shows something on screen: yes
Hooked events
Screenshot of rtl-terminal

Right-to-left layout for Arabic, Hebrew, Persian, Urdu and every RTL language in the Claude Code terminal

Made this mod? Add a badge to your README

modsforClaude badge for rtl-terminal

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/rtl-terminal.svg)](https://modsforclaude.com/mods/rtl-terminal/)

← All mods