Merge branch 'main' into storybook
This commit is contained in:
commit
15ea4af5e7
22 changed files with 734 additions and 96 deletions
|
@ -283,7 +283,12 @@ impl TerminalView {
|
|||
pub fn deploy_context_menu(&mut self, position: Vector2F, cx: &mut ViewContext<Self>) {
|
||||
let menu_entries = vec![
|
||||
ContextMenuItem::action("Clear", Clear),
|
||||
ContextMenuItem::action("Close", pane::CloseActiveItem),
|
||||
ContextMenuItem::action(
|
||||
"Close",
|
||||
pane::CloseActiveItem {
|
||||
save_behavior: None,
|
||||
},
|
||||
),
|
||||
];
|
||||
|
||||
self.context_menu.update(cx, |menu, cx| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue