Merge branch 'main' into terminal-element
This commit is contained in:
commit
8d57d6ca6f
130 changed files with 17644 additions and 8898 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue