Merge branch 'main' into terminal-element

This commit is contained in:
Mikayla 2023-12-05 09:33:46 -08:00
commit 8d57d6ca6f
No known key found for this signature in database
130 changed files with 17644 additions and 8898 deletions

View file

@ -300,11 +300,8 @@ impl TerminalView {
cx: &mut ViewContext<Self>,
) {
self.context_menu = Some(ContextMenu::build(cx, |menu, cx| {
menu.action("Clear", Box::new(Clear), cx).action(
"Close",
Box::new(CloseActiveItem { save_intent: None }),
cx,
)
menu.action("Clear", Box::new(Clear))
.action("Close", Box::new(CloseActiveItem { save_intent: None }))
}));
// todo!()
// self.context_menu
@ -1172,6 +1169,7 @@ mod tests {
})
})
.await
.unwrap()
.unwrap();
(wt, entry)