macos: compile errors in CI

This commit is contained in:
Mitchell Hashimoto
2025-06-06 12:48:23 -07:00
parent 966c4f98c7
commit 5507ec0fc0
2 changed files with 3 additions and 3 deletions

View File

@@ -404,8 +404,7 @@ class BaseTerminalController: NSWindowController,
guard let node = surfaceTree.root?.node(view: target) else { return }
closeSurfaceNode(
node,
withConfirmation: (notification.userInfo?["process_alive"] as? Bool) ?? false,
)
withConfirmation: (notification.userInfo?["process_alive"] as? Bool) ?? false)
}
/// Close a surface node (which may contain splits), requesting confirmation if necessary.
@@ -413,7 +412,7 @@ class BaseTerminalController: NSWindowController,
/// This will also insert the proper undo stack information in.
func closeSurfaceNode(
_ node: SplitTree<Ghostty.SurfaceView>.Node,
withConfirmation: Bool = true,
withConfirmation: Bool = true
) {
// This node must be part of our tree
guard surfaceTree.contains(node) else { return }

View File

@@ -1,3 +1,4 @@
import AppKit
import Cocoa
// MARK: Presentation Options