macos: remove confirmation option for close terminal

This commit is contained in:
Mitchell Hashimoto
2025-06-20 07:22:12 -07:00
parent 2c1e83ba2f
commit e6c24fbf0a

View File

@ -12,13 +12,6 @@ struct CloseTerminalIntent: AppIntent {
)
var terminal: TerminalEntity
@Parameter(
title: "Command",
description: "Command to execute instead of the default shell.",
default: true
)
var confirm: Bool
@available(macOS 26.0, *)
static var supportedModes: IntentModes = .background
@ -32,7 +25,7 @@ struct CloseTerminalIntent: AppIntent {
return .result()
}
controller.closeSurface(surfaceView, withConfirmation: confirm)
controller.closeSurface(surfaceView, withConfirmation: false)
return .result()
}
}