mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
macos: help menu goes to the github repo
This commit is contained in:
@ -145,4 +145,9 @@ class AppDelegate: NSObject, NSApplicationDelegate, ObservableObject {
|
||||
guard let surface = focusedSurface() else { return }
|
||||
ghostty.splitMoveFocus(surface: surface, direction: direction)
|
||||
}
|
||||
|
||||
@IBAction func showHelp(_ sender: Any) {
|
||||
guard let url = URL(string: "https://github.com/mitchellh/ghostty") else { return }
|
||||
NSWorkspace.shared.open(url)
|
||||
}
|
||||
}
|
||||
|
@ -191,7 +191,7 @@
|
||||
<items>
|
||||
<menuItem title="Ghostty Help" keyEquivalent="?" id="FKE-Sm-Kum">
|
||||
<connections>
|
||||
<action selector="showHelp:" target="-1" id="y7X-2Q-9no"/>
|
||||
<action selector="showHelp:" target="bbz-4X-AYv" id="tiy-ow-xSw"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
|
Reference in New Issue
Block a user