macos: forgot the toggle fullscreen binding

This commit is contained in:
Mitchell Hashimoto
2023-10-30 22:18:20 -07:00
parent 09ad0f6b7b
commit 07c4692799
2 changed files with 2 additions and 2 deletions

View File

@ -205,7 +205,7 @@ class TerminalController: NSWindowController, NSWindowDelegate, TerminalViewDele
ghostty.splitMoveFocus(surface: surface, direction: direction)
}
@IBAction func toggleFullScreen(_ sender: Any) {
@IBAction func toggleGhosttyFullScreen(_ sender: Any) {
guard let surface = focusedSurface?.surface else { return }
ghostty.toggleFullscreen(surface: surface)
}

View File

@ -203,7 +203,7 @@
<menuItem title="Toggle Full Screen" id="8kY-Pi-KaY">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="toggleFullScreen:" target="bbz-4X-AYv" id="PQq-1F-kpT"/>
<action selector="toggleGhosttyFullScreen:" target="-1" id="QB9-7R-xyc"/>
</connections>
</menuItem>
<menuItem title="Bring All to Front" id="LE2-aR-0XJ">