From f0737356cb51a31a39931cd7a095bafc2b62544d Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 30 Jun 2024 15:19:59 -0700 Subject: [PATCH] macos: i don't like windowing in the context menu --- macos/Sources/Ghostty/SurfaceView_AppKit.swift | 8 -------- 1 file changed, 8 deletions(-) diff --git a/macos/Sources/Ghostty/SurfaceView_AppKit.swift b/macos/Sources/Ghostty/SurfaceView_AppKit.swift index 4a4b5fbda..ea4c86dc5 100644 --- a/macos/Sources/Ghostty/SurfaceView_AppKit.swift +++ b/macos/Sources/Ghostty/SurfaceView_AppKit.swift @@ -872,14 +872,6 @@ extension Ghostty { guard event.type == .rightMouseDown else { return nil } let menu = NSMenu() - - // Windowing - menu.addItem(withTitle: "New Window", action: #selector(TerminalController.newWindow(_:)), keyEquivalent: "") - menu.addItem(withTitle: "New Tab", action: #selector(TerminalController.newTab(_:)), keyEquivalent: "") - menu.addItem(withTitle: "Split Right", action: #selector(TerminalController.splitRight(_:)), keyEquivalent: "") - menu.addItem(withTitle: "Split Down", action: #selector(TerminalController.splitDown(_:)), keyEquivalent: "") - menu.addItem(.separator()) - // If we have a selection, add copy if self.selectedRange().length > 0 {