mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-01-06 13:27:49 +00:00
Update macos/Sources/Features/Terminal/TerminalController.swift
Co-authored-by: Gregory Anders <8965202+gpanders@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
db309a0b61
commit
9d3a4d2a58
@@ -17,7 +17,7 @@ class TerminalController: NSWindowController, NSWindowDelegate, TerminalViewDele
|
||||
@Published var surfaceTree: Ghostty.SplitNode? = nil {
|
||||
didSet {
|
||||
// If our surface tree becomes nil then it means all our surfaces
|
||||
// have closed, so we also cloud the window.
|
||||
// have closed, so we also close the window.
|
||||
if (surfaceTree == nil) { lastSurfaceDidClose() }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user