diff --git a/macos/Sources/Ghostty/Ghostty.App.swift b/macos/Sources/Ghostty/Ghostty.App.swift index e46d6fbdf..9198e48b6 100644 --- a/macos/Sources/Ghostty/Ghostty.App.swift +++ b/macos/Sources/Ghostty/Ghostty.App.swift @@ -635,10 +635,11 @@ extension Ghostty { private static func toggleVisibility( _ app: ghostty_app_t, - target: ghostty_target_s) { - guard let appDelegate = NSApplication.shared.delegate as? AppDelegate else { return } - appDelegate.toggleVisibility(self) - } + target: ghostty_target_s + ) { + guard let appDelegate = NSApplication.shared.delegate as? AppDelegate else { return } + appDelegate.toggleVisibility(self) + } private static func gotoTab( _ app: ghostty_app_t, diff --git a/src/apprt/action.zig b/src/apprt/action.zig index 224ed5e5c..07985fbd0 100644 --- a/src/apprt/action.zig +++ b/src/apprt/action.zig @@ -96,7 +96,7 @@ pub const Action = union(Key) { /// Toggle the quick terminal in or out. toggle_quick_terminal, - /// Toggle the visiblity of all windows + /// Toggle the visiblity of all Ghostty terminal windows toggle_visibility, /// Jump to a specific tab. Must handle the scenario that the tab