Force Ghostty to be active if not
parent
8600954526
commit
8beeebc21d
|
|
@ -98,6 +98,11 @@ struct NewTerminalIntent: AppIntent {
|
|||
parent = nil
|
||||
}
|
||||
|
||||
defer {
|
||||
if !NSApp.isActive {
|
||||
NSApp.activate(ignoringOtherApps: true)
|
||||
}
|
||||
}
|
||||
switch location {
|
||||
case .window:
|
||||
let newController = TerminalController.newWindow(
|
||||
|
|
|
|||
Loading…
Reference in New Issue