Skip to content

Ghostty 1.3.2 RTL (Arabic) — rtl.5

Latest

Choose a tag to compare

@HMH-3080 HMH-3080 released this 18 Nov 13:41

Ghostty 1.3.2 — Arabic/RTL fork (v1.3.2-rtl.5)

Fifth tagged release of this fork. It refines paragraph-level bidirectional
text
: a leading LTR prefix (line number, prompt, English label) stays at the
left edge, and the Arabic text starts immediately after it instead of being
pushed to the right margin.

Based on commandlinetips/ghostty
(commit 653cae7), which in turn forks
ghostty-org/ghostty 1.3.2-dev.

What's new in rtl.5

  • TUI cells with grapheme clusters (codepoint_grapheme) are now included
    in BiDi detection, so Arabic written by TUI applications is reordered too.
  • Mouse events use logical columns on reordered rows: clicks and mouse
    reports no longer land on the mirrored visual cell.
  • No gap after the prefix: trailing padding cells are no longer part of the
    RTL run, so 1: أنا أستخدم Ghostty... starts right after 1:.
  • Prefixes stay on the left and pure Arabic rows keep right alignment.

Note

A TUI that draws several columns in one row (for example a tab bar) is still
reordered as a whole row by the terminal. Apps that implement their own
layout must handle that layout themselves; a terminal-level BiDi pass cannot
distinguish a tab bar from a sentence.

Changes inherited from rtl.3

  • Any row containing Arabic is treated as an RTL paragraph even when it starts
    with an English label; English words, numbers and paths remain LTR islands.

Changes inherited from rtl.2

  • Paragraph direction auto-detected (FRIBIDI_PAR_ON) for Arabic-first
    lines, with correct mixed-word order and right alignment.
  • Decorations follow the visual position: underline, overline and
    strikethrough are drawn under the reordered glyphs.
  • Installer path rewrite: desktop entry, D-Bus and systemd units point to
    /usr/local/bin/ghostty even when installing from a repackaged tarball.
  • macOS CI uses the macos-26-arm64 runner for the Icon Composer asset.

Highlights

  • Arabic/Hebrew RTL — connected letters, correct word/digit order,
    mixed LTR/RTL lines work; the UI itself stays LTR.
  • Build fix for Zig 0.15.2 on modern glibc (Arch/GCC 16):
    the host tools gtk_blueprint_compiler and ghostty-build-data are built
    with the LLVM linker to avoid the crt1.o:.sframe relocation failure.
  • macOS/iOS build fix — the CoreText shaper hooks now return error unions
    like the shared RunIterator interface expects (prepare/finalize), so
    the Apple targets compile with the RTL changes.
  • Installer — install-system.sh keeps exactly one Ghostty on the
    system, installs to /usr/local, and fixes desktop-icon launching under
    dbus-broker.
  • Reproducible build — rebuild.sh (Linux) and a GitHub Actions
    workflow for the macOS app.

Assets

File Platform Notes
ghostty-1.3.2-rtl.5-linux-x86_64.tar.zst Linux x86_64 GTK4 build, includes resources + installer
SHA256SUMS-linux.txt — Checksums for the Linux asset
Ghostty-rtl-v1.3.2-rtl.5-macos-arm64.zip macOS Apple Silicon unsigned app bundle, ad-hoc signed
SHA256SUMS-macos.txt — Checksums for the macOS asset
Source code (zip/tar.gz) — generated by GitHub from the tag

Important

Windows is not supported by Ghostty (no native backend), so there is
no Windows binary. Use WSL2 + WSLg with the Linux build instead.

Quick install

Linux (Arch-tested, GTK4/FriBidi required):

tar --zstd -xf ghostty-1.3.2-rtl.5-linux-x86_64.tar.zst
cd ghostty-1.3.2-rtl.5-linux-x86_64
sudo bash install-system.sh "$PWD"

macOS (Apple Silicon):

unzip Ghostty-rtl-v1.3.2-rtl.5-macos-arm64.zip
mv Ghostty.app /Applications/
xattr -dr com.apple.quarantine /Applications/Ghostty.app

Full instructions: docs/INSTALL.md.

Expected bidi behavior

Line Paragraph direction Display
السلام عليكم، كيف حالك اليوم؟ RTL right-aligned, reads RTL
أنا أستخدم Ghostty على Linux RTL starts right, Ghostty/Linux stay LTR
1: أنا أستخدم Ghostty على Linux RTL after the prefix 1: stays left, sentence reads RTL
CONTROL: أنا اسمي محمد RTL after the prefix CONTROL: stays left, Arabic reads RTL

Recommended config

font-family = "CaskaydiaMono Nerd Font Mono"
font-size = 14

background = #1a1b26
foreground = #c0caf5

Warning

Do not force a proportional Arabic font (for example
IBM Plex Sans Arabic) with font-codepoint-map. Ghostty renders on a
fixed cell grid; proportional glyphs spread out and look distorted. Keep a
monospaced font such as CaskaydiaMono Nerd Font Mono (it already contains
Arabic) or a dedicated monospaced Arabic font such as Kawkab Mono.

TokyoNight palette and Windows Terminal-style keybindings are documented in
FORK_NOTES.md.

Known limitations

  • Mouse selection across RTL text is still imperfect: dragging across mixed
    runs can be off by a cell.
  • Some Arabic diacritics (tashkeel) can detach from the base letter
    (e.g. the final د in مُحَمَّد). This is a shaping limitation of the
    fork, not of the font.
  • Neutral characters at run boundaries (for example the leading ~ in
    ~/.config) follow the paragraph direction, as required by the Unicode
    Bidirectional Algorithm; browsers display them the same way.
  • The macOS app is unsigned; Gatekeeper needs a one-time approval.

Credits & license

ملخص بالعربية

الإصدار الخامس من الفورك:

  • أي سطر فيه عربية يُقرأ RTL حتى لو بدأ بكلمة إنجليزية أو رقم؛ البادئة
    مثل 1: أو CONTROL: تبقى في أقصى اليسار ويبدأ النص العربي مباشرة
    بعدها
    دون فراغ كبير، مع بقاء الكلمات الإنجليزية والأرقام والمسارات LTR
    داخل الجملة.
  • السطور العربية الخالصة تُحاذى يمينًا كما في الإصدارات السابقة.
  • الخطوط والتسطير تتبع الموضع البصري بعد إعادة الترتيب.
  • لا تستخدم خطًا عربيًا متناسبًا مثل IBM Plex Sans Arabic مع
    font-codepoint-map؛ شبكة الخلايا ثابتة وسيتشوه المنظر. استخدم خطًا
    أحادي المسافة.
  • حزمة لينكس جاهزة مع سكربت تثبيت نظامي.
  • تطبيق ماك جاهز (Apple Silicon، غير موقّع).
  • ويندوز غير مدعوم لأن Ghostty نفسه لا يملك واجهة ويندوز — استخدم WSL2.