Remove cx param
This commit is contained in:
parent
c82fea375d
commit
1c9b984738
7 changed files with 31 additions and 64 deletions
|
@ -299,11 +299,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 }))
|
||||
}));
|
||||
dbg!(&position);
|
||||
// todo!()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue