Merge branch 'main' into cells
This commit is contained in:
commit
379652f074
136 changed files with 8047 additions and 3657 deletions
|
@ -412,6 +412,10 @@ impl TerminalElement {
|
|||
})
|
||||
// Update drag selections
|
||||
.on_drag(MouseButton::Left, move |event, _: &mut TerminalView, cx| {
|
||||
if event.end {
|
||||
return;
|
||||
}
|
||||
|
||||
if cx.is_self_focused() {
|
||||
if let Some(conn_handle) = connection.upgrade(cx) {
|
||||
conn_handle.update(cx, |terminal, cx| {
|
||||
|
|
|
@ -1070,7 +1070,9 @@ mod tests {
|
|||
});
|
||||
|
||||
let project = Project::test(params.fs.clone(), [], cx).await;
|
||||
let (_, workspace) = cx.add_window(|cx| Workspace::test_new(project.clone(), cx));
|
||||
let workspace = cx
|
||||
.add_window(|cx| Workspace::test_new(project.clone(), cx))
|
||||
.root(cx);
|
||||
|
||||
(project, workspace)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue