mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00

User input withe Alt modifier is typically ESC prefixed. Escape prefixing a non-ascii character can cause bugs in some applications. For example in bash, emitting an Alt+ф allows the user to backspace one character into the prompt. This can be repeated multiple times. When a character is outside the ASCII range (exclusive of 0x7F, this is handled as a control sequence), print the character as is, with no prefix.