Merge pull request #449 from manaflow-ai/cmux/force-refresh-surface-guard
Guard nil surface in TerminalSurface.forceRefresh
This commit is contained in:
commit
da9cd95188
1 changed files with 1 additions and 0 deletions
|
|
@ -1988,6 +1988,7 @@ final class TerminalSurface: Identifiable, ObservableObject {
|
|||
}
|
||||
|
||||
view.forceRefreshSurface()
|
||||
guard let surface = surface else { return }
|
||||
ghostty_surface_refresh(surface)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue