How amiralimanzar/zed-rtl works
Zed RTL is a Windows patch for Zed’s text shaping and caret positioning. The main user workflow is to launch the patcher, which obtains an architecture- and version-matched patched executable and replaces the installed Zed executable after backing it up; the README also documents restoring the backup and using a local build. The patch modifies shaping and line-layout code so RTL handling applies across Zed’s editor, terminal, and remote sessions. The patcher-to-PowerShell handoff is visible in source; installation details and patch effects are documented in the README, while the PowerShell implementation was not sampled.
Main entry points: patch-zed.ps1 Install script · zed-rtl.patch Zed patch · main.rs Patcher launcher · direct_write.rs Windows text shaping
Components 10
Installation
- Patcher launcher
patcher/src/main.rs - Install script
scripts/patch-zed.ps1 - Patched build
- Original executable backup
RTL changes
- Zed patch
patch/zed-rtl.patch - Windows text shaping
patch/direct_write.rs - Caret positioning
patch/zed-rtl.patch
Zed runtime
- Installed Zed executable
- Editor, terminal, remote
Other components
- Windows user
Connections 9
- Windows user → Patcher launcher: runs
README.md - Patcher launcher → Install script: launches
patcher/src/main.rs - Install script → Original executable backup: backs up
README.md - Install script → Patched build: downloads
README.md - Install script → Installed Zed executable: replaces
README.md - Patched build → Installed Zed executable: supplies build
README.md - Zed patch → Windows text shaping: changes
README.md - Zed patch → Caret positioning: changes
README.md - Installed Zed executable → Editor, terminal, remote: renders text
README.md