Merge pull request #449 from manaflow-ai/cmux/force-refresh-surface-guard

Guard nil surface in TerminalSurface.forceRefresh
This commit is contained in:
Austin Wang 2026-02-24 16:00:41 -08:00 committed by GitHub
commit da9cd95188
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1988,6 +1988,7 @@ final class TerminalSurface: Identifiable, ObservableObject {
}
view.forceRefreshSurface()
guard let surface = surface else { return }
ghostty_surface_refresh(surface)
}