Add "Close Window" command

This commit is contained in:
Max Brunsfeld 2022-05-20 16:53:03 -07:00
parent b08cad9ef5
commit 21206800bc
4 changed files with 38 additions and 0 deletions

View file

@ -58,6 +58,10 @@ pub fn menus() -> Vec<Menu<'static>> {
name: "Close Editor",
action: Box::new(workspace::CloseActiveItem),
},
MenuItem::Action {
name: "Close Window",
action: Box::new(workspace::CloseWindow),
},
],
},
Menu {