FrankenTerm

Terminal Emulator Capabilities

243 words1 min readFrom the README at ft 0.15.21

ft inherits its terminal-emulation surface from the vendored term + termwiz crates. The discipline here is "implement upstream WezTerm correctness, then patch fixes upstream-wards." Recent correctness work:

  • DEC private modes — full save/restore stack (DECSC/DECRC + the private-mode variants). The 2026-05 DEC private mode restore landed under 19d289158 with cache-reset coverage at 0332dca07.
  • OSC 8 hyperlinks — display percent-encodes reserved field separators; parse decodes the escaped form back. Closes a class of hyperlink rendering bugs in the GUI and in get-text output.
  • OSC 52 (clipboard) — docstring honesty fix (ft-uea9o); the implementation matches the documented behavior.
  • OSC 1337 (iTerm2) — sanitization gap closure (ft-t9ydu); the cluster of iTerm2 OSC handlers (iterm2_osc_1337) was hardened against pure-rejection storm corner cases.
  • DEL + C1 + CSI sanitization — the restore_process path now rejects DEL and C1 controls (including CSI) rather than silently filtering, closing a bypass class (br-ft-asoso).
  • Application keypad mode — DECPAM / DECPNM state changes affect numpad escape sequences (closed under the 2026-04-26 ship-readiness pass).
  • Wayland DPI overrides — per-screen DPI overrides are honored; native Windows alternate-screen requests report explicit "unsupported" errors instead of silent success.
  • Kitty graphics — alt-text sanitization (ft-t9ydu) + alt-text attestation generator + release gate (br-ft-d1pv3).
  • Subpixel positioning — ScaleFactor fields privatized to prevent denominator=0 + non-canonical bypass (br-ft-1mktd).
  • Bidi text — vendored bidi crate provides Unicode BiDi algorithm support.
  • Synchronized Output (BSU/ESU) — full mux notification plumbing; GUI drain telemetry; orchestrator-level pinned drain cause for soft-reset under BSU.

The renderer SLO catalog covers resize FPS, input-to-photon latency, atlas stability, parity SSIM, and idle GPU power: docs/perf/resize-quality-slo.md (+ machine-readable JSON).