Add close_tab keybinding action for macOS

Implement `close_tab` keybinding action to close the current tab and all splits within that tab.
This commit is contained in:
Bryan Lee
2025-01-03 09:15:29 +08:00
committed by Mitchell Hashimoto
parent e4033ca4df
commit 140ac93884
7 changed files with 112 additions and 33 deletions

View File

@@ -4266,6 +4266,7 @@ fn closingAction(action: input.Binding.Action) bool {
return switch (action) {
.close_surface,
.close_window,
.close_tab,
=> true,
else => false,