close window action

This commit is contained in:
Mitchell Hashimoto
2022-11-06 10:44:23 -08:00
parent 410b2b4486
commit be76bc6c1a
3 changed files with 12 additions and 2 deletions

View File

@@ -134,8 +134,11 @@ pub const Action = union(enum) {
/// Dev mode
toggle_dev_mode: void,
/// Open a new terminal window.
/// Open a new window
new_window: void,
/// Close the current window
close_window: void,
};
/// Trigger is the associated key state that can trigger an action.