Reoganize remote client code to make room for non-ssh remote projects

Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
This commit is contained in:
Max Brunsfeld 2025-08-26 12:05:24 -07:00
parent 84c243576f
commit e0223add54
35 changed files with 1596 additions and 1579 deletions

View file

@ -484,7 +484,9 @@ impl TerminalPanel {
let Ok((ssh_client, false)) = self.workspace.update(cx, |workspace, cx| {
let project = workspace.project().read(cx);
(
project.ssh_client().and_then(|it| it.read(cx).ssh_info()),
project
.remote_client()
.and_then(|it| it.read(cx).ssh_info()),
project.is_via_collab(),
)
}) else {