Repository navigation
TermX 854d0a7
Fix pinch zoom, backspace/Return, and the duplicate boot prompt.
Pinch zoom: no recognizer existed. Now pinch changes the font size, persisted, clamped 10-24.
Keys: sendKey sent the Ghostty enum value as the native keycode, but Ghostty matches macOS AppKit keycodes on iOS too, so Backspace hit AppKit Escape and Enter hit AppKit Alt, both doing nothing. That also broke the earlier Return fix. Now translated to AppKit keycodes with PRESS then RELEASE. Backspace, Enter, Tab, Esc, arrows and Ctrl+letters work.
Duplicate prompt: the 0.3 s quiet-period gated newline was racy on cold boot. Now it checks the console buffer for the shell prompt: if already there, one newline elicits exactly one fresh prompt; if not, nothing is sent and the live prompt prints once.
SHA-256: f3a9a18c2169cefd349a15610815aeef46b4407e2eacacb99fcec62628e08a6f