apprt/embedded: close surface callback

This commit is contained in:
Mitchell Hashimoto
2023-03-08 15:05:15 -08:00
parent fa9ee0815f
commit 6c857877e8
8 changed files with 46 additions and 5 deletions

View File

@@ -184,7 +184,11 @@ pub const Action = union(enum) {
/// in the direction given.
new_split: SplitDirection,
/// Close the current window or tab
/// Close the current "surface", whether that is a window, tab, split,
/// etc. This only closes ONE surface.
close_surface: void,
/// Close the window, regardless of how many tabs or splits there may be.
close_window: void,
/// Quit ghostty