close_tab keybind (gtk apprt only) (#4033)

Title. Adds a close_tab keybind that essentially behaves the exact same
as clicking the tab close button on the tab bar.
This commit is contained in:
Sabarigirish Manikandan
2025-01-09 00:37:00 +05:30
committed by GitHub
parent 34a0b206f8
commit 306c7ea2be
7 changed files with 45 additions and 0 deletions

View File

@@ -562,6 +562,7 @@ typedef enum {
GHOSTTY_ACTION_QUIT,
GHOSTTY_ACTION_NEW_WINDOW,
GHOSTTY_ACTION_NEW_TAB,
GHOSTTY_ACTION_CLOSE_TAB,
GHOSTTY_ACTION_NEW_SPLIT,
GHOSTTY_ACTION_CLOSE_ALL_WINDOWS,
GHOSTTY_ACTION_TOGGLE_FULLSCREEN,