Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Design decisions

DecisionReason
Do not backport ConPTYIt needs condrv.sys plus kernelbase routing. The driver is proprietary, and on Windows 7 the console client is hard-wired to ALPC.
Do not write a kernel driverNo Windows 7 process would ever call it. Intercepting ALPC means kernel hooking, and new Windows 7 x64 kernel drivers can no longer be signed in an acceptable way.
Do not depend on VxKexVxKex lets unmodified Windows 10 binaries run on Windows 7. We control our own binary, so we target a Windows 7 floor and late-bind newer APIs.
Do not build on CygwinCygwin's last Windows 7 release is 3.4.10, and native programs would still need a Backend.
x64 only, no 32-bit build32-bit builds hit upstream layout and overflow limits in libghostty-vt (an overflow in the snapshot decoder, and tests that assume 64-bit sizes). 32-bit Windows 7 is out of scope. Decided 2026-11-05.
Use in-process hooks with a scraper fallbackHooking is the only Windows 7 design whose ceiling is not Windows 7's conhost. The scraper catches anything the hooks miss.
Rust, not Zig or CZig is pre-1.0 and breaks each release. Rust is stable, is where cosmic-text and wgpu live, and gives thread safety where the Backend, VT state and Renderer meet. Decided 2026-11-05.
no_std on Windows, stable toolchainRust's std needs Windows 10; the Windows 7 targets are tier 3 and nightly-only. no_std plus alloc builds on stable for the ordinary gnu target and imports nothing we did not call. Spikes on 2026-11-05 proved both routes; see ADR 0004.
cosmic-text everywhere, about 1.4 MBOne Text Engine with one set of metrics on all platforms, Arabic handled well, our emoji fixes carried over, and color glyphs rasterized by swash where Windows 7's DirectWrite cannot.
D3D11 on Windows, wgpu elsewherewgpu has no D3D11 backend and D3D12 and Vulkan do not fit Windows 7 hardware. D3D11 with WARP covers old Intel GPUs, VMs and Remote Desktop.
Patches stay localWindows 7 patches to Ghostty and Zig, and any C API additions we need, are carried in patches/ and not upstreamed.
Fonts ship as sidecar filesNo font is embedded in the exe. A fonts folder beside it is loaded if present, and Setup offers each font group as an optional component (checked by default): Cascadia Mono (default family on Windows 7 and 10, monospace Arabic designed by Mohamad Dakak since release 2106.17, SIL OFL), Noto Color Emoji and Noto Emoji (SIL OFL, providing color emoji on Windows 7 and a final fallback for newer emoji), Symbols Nerd Font 3.4.0 (MIT, the symbols font Ghostty embeds), and ANAKRON 8x12 (SIL OFL 1.1, for v7-nostalgia). Without the folder, Voyager7 falls back to Consolas, installed fonts, and Windows' Terminal raster font for nostalgia.