mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-07-03 20:37:20 +08:00
renderCallback early-returns while !flags.visible to avoid the cell rebuild for hidden surfaces (tab switch, minimize, etc.). The .visible → true mailbox handler now runs updateFrame before drawFrame so the first frame after re-show isn't stale. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>