Review Feedback - formatting / docs

This commit is contained in:
Roland Peelen
2024-10-01 09:53:12 +02:00
committed by Mitchell Hashimoto
parent af48c1af0c
commit 9e00eeff86
2 changed files with 6 additions and 5 deletions

View File

@ -635,10 +635,11 @@ extension Ghostty {
private static func toggleVisibility( private static func toggleVisibility(
_ app: ghostty_app_t, _ app: ghostty_app_t,
target: ghostty_target_s) { target: ghostty_target_s
guard let appDelegate = NSApplication.shared.delegate as? AppDelegate else { return } ) {
appDelegate.toggleVisibility(self) guard let appDelegate = NSApplication.shared.delegate as? AppDelegate else { return }
} appDelegate.toggleVisibility(self)
}
private static func gotoTab( private static func gotoTab(
_ app: ghostty_app_t, _ app: ghostty_app_t,

View File

@ -96,7 +96,7 @@ pub const Action = union(Key) {
/// Toggle the quick terminal in or out. /// Toggle the quick terminal in or out.
toggle_quick_terminal, toggle_quick_terminal,
/// Toggle the visiblity of all windows /// Toggle the visiblity of all Ghostty terminal windows
toggle_visibility, toggle_visibility,
/// Jump to a specific tab. Must handle the scenario that the tab /// Jump to a specific tab. Must handle the scenario that the tab