mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-01-08 06:13:20 +00:00
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:
committed by
GitHub
parent
34a0b206f8
commit
306c7ea2be
@@ -383,6 +383,9 @@ pub const Action = union(enum) {
|
||||
/// This only works for macOS currently.
|
||||
close_all_windows: void,
|
||||
|
||||
/// Closes the tab belonging to the currently focused split.
|
||||
close_tab: void,
|
||||
|
||||
/// Toggle fullscreen mode of window.
|
||||
toggle_fullscreen: void,
|
||||
|
||||
@@ -750,6 +753,7 @@ pub const Action = union(enum) {
|
||||
.resize_split,
|
||||
.equalize_splits,
|
||||
.inspector,
|
||||
.close_tab,
|
||||
=> .surface,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user