mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-09-14 18:01:58 +00:00
Legacy Alt-as-Escape now prefixes the complete UTF-8 sequence for non-ASCII input. When text is unavailable, the encoder falls back to the UTF-8 encoding of the unshifted codepoint. This fixes 16 xterm legacy cases and eight fixterms cases without changing MOK2. The cases I'm talking about are in my comparison harness... The helper now writes Escape and the selected payload directly. It preserves macOS Option-as-Alt translation and shifted ASCII behavior.