ssh remoting: Enable reconnecting after connection losses (#18586)
Release Notes: - N/A --------- Co-authored-by: Bennet <bennet@zed.dev>
This commit is contained in:
parent
67fbdbbed6
commit
c03b8d6c48
19 changed files with 727 additions and 240 deletions
|
@ -265,7 +265,7 @@ impl TitleBar {
|
|||
fn render_ssh_project_host(&self, cx: &mut ViewContext<Self>) -> Option<AnyElement> {
|
||||
let host = self.project.read(cx).ssh_connection_string(cx)?;
|
||||
let meta = SharedString::from(format!("Connected to: {host}"));
|
||||
let indicator_color = if self.project.read(cx).ssh_is_connected()? {
|
||||
let indicator_color = if self.project.read(cx).ssh_is_connected(cx)? {
|
||||
Color::Success
|
||||
} else {
|
||||
Color::Warning
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue