mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-18 13:30:29 +00:00
Close other tabs feature on Mac.
Supporting command line, file menu and keybindings. Default mac shortcut of `super + alt + o` (other) Not able to test on Linux so excluding `close_other_tabs` from `gtk` for now make a default short cut for close other tabs
This commit is contained in:
committed by
Mitchell Hashimoto
parent
13425b4881
commit
c26323d697
@@ -375,6 +375,12 @@ fn actionCommands(action: Action.Key) []const Command {
|
||||
.description = "Show the on-screen keyboard if present.",
|
||||
}},
|
||||
|
||||
.close_other_tabs => comptime &.{.{
|
||||
.action = .close_other_tabs,
|
||||
.title = "Close Other Tabs",
|
||||
.description = "Close all tabs in this window except the current one.",
|
||||
}},
|
||||
|
||||
.open_config => comptime &.{.{
|
||||
.action = .open_config,
|
||||
.title = "Open Config",
|
||||
|
||||
Reference in New Issue
Block a user