mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
macos: i don't like windowing in the context menu
This commit is contained in:
@ -872,14 +872,6 @@ extension Ghostty {
|
|||||||
guard event.type == .rightMouseDown else { return nil }
|
guard event.type == .rightMouseDown else { return nil }
|
||||||
|
|
||||||
let menu = NSMenu()
|
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 we have a selection, add copy
|
||||||
if self.selectedRange().length > 0 {
|
if self.selectedRange().length > 0 {
|
||||||
|
Reference in New Issue
Block a user