mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
Review Feedback - formatting / docs
This commit is contained in:

committed by
Mitchell Hashimoto

parent
af48c1af0c
commit
9e00eeff86
@ -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,
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user