macos: remove confirmation option for close terminal

pull/7634/head
Mitchell Hashimoto 2025-06-20 07:22:12 -07:00
parent 2c1e83ba2f
commit e6c24fbf0a
No known key found for this signature in database
GPG Key ID: 523D5DC389D273BC
1 changed files with 1 additions and 8 deletions

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()
}
}