GUI Render State
169 words1 min readFrom the README at ft 0.15.21
The native GUI (frankenterm-gui, shipped as FrankenTerm.app on macOS) is fully render-state-aware. Live state is plumbed through paint and reduce-motion gates:
- Terminal triple-buffer registry — current/staged/pending frame tracked per pane with a watchdog
- Quad allocation snapshot — atlas usage + frame-budget reduce-motion gate decides whether to render in full-fidelity or reduced-motion mode
- SynchronizedOutput (BSU/ESU) — mux notification plumbing emits
Admissionevents before mid-chunkDrain; GUI consumes drain telemetry and feeds it into watchdog + orchestrator - Classified drag handlers (ft-spcu0) — per-mode handlers replaced the "drag not implemented" catch-all
- Domain-aware command palette (ft-dkd26) — palette renders user-facing labels instead of raw domain IDs
- Tab progress indicator — indeterminate-mode rendering for tabs whose work has unknown completion
- Scripting dimensions expose live window state (ft-zfcsc) —
window:get_dimensions()returns the live state, not stale config - Wayland direct-scanout policy substrate — direct-scanout decisions are policy-gated and observable
- DEC private mode restore — terminal correctly restores DEC private modes from save/restore stacks
The renderer SLO catalog is consolidated at docs/perf/resize-quality-slo.md (with machine-readable JSON sibling), covering resize FPS, input-to-photon, atlas stability, parity SSIM, and idle GPU power.