Map initial approach to string opening
This commit is contained in:
parent
f52722b6a4
commit
23f25562b5
4 changed files with 55 additions and 17 deletions
|
@ -895,7 +895,14 @@ pub fn dock_default_item_factory(
|
|||
})
|
||||
.notify_err(workspace, cx)?;
|
||||
|
||||
let terminal_view = cx.add_view(|cx| TerminalView::new(terminal, workspace.database_id(), cx));
|
||||
let terminal_view = cx.add_view(|cx| {
|
||||
TerminalView::new(
|
||||
terminal,
|
||||
workspace.weak_handle(),
|
||||
workspace.database_id(),
|
||||
cx,
|
||||
)
|
||||
});
|
||||
|
||||
Some(Box::new(terminal_view))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue