mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-07-28 11:36:34 +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
@@ -82,6 +82,9 @@ pub const Action = union(Key) {
|
||||
/// the tab should be opened in a new window.
|
||||
new_tab,
|
||||
|
||||
/// Closes the tab belonging to the currently focused split.
|
||||
close_tab,
|
||||
|
||||
/// Create a new split. The value determines the location of the split
|
||||
/// relative to the target.
|
||||
new_split: SplitDirection,
|
||||
@@ -225,6 +228,7 @@ pub const Action = union(Key) {
|
||||
quit,
|
||||
new_window,
|
||||
new_tab,
|
||||
close_tab,
|
||||
new_split,
|
||||
close_all_windows,
|
||||
toggle_fullscreen,
|
||||
|
||||
Reference in New Issue
Block a user