Fix Terminal Inspector option turns inactive if toggled in the Quick Terminal

This commit is contained in:
Mikhail Borisov
2025-02-28 00:38:29 +01:00
committed by Mitchell Hashimoto
parent f1c510f9fe
commit b2a8211f9e

View File

@ -459,6 +459,11 @@ class QuickTerminalController: BaseTerminalController {
ghostty.toggleFullscreen(surface: surface)
}
@IBAction func toggleTerminalInspector(_ sender: Any?) {
guard let surface = focusedSurface?.surface else { return }
ghostty.toggleTerminalInspector(surface: surface)
}
// MARK: Notifications
@objc private func applicationWillTerminate(_ notification: Notification) {