Skip to content

A modern terminal with a built-in multiplexer: close it and your sessions keep running. Run shells and tons of AI agents across your machines, then pick them up from desktop, browser, TUI and more. Written in Rust with no UI framework: interface drawn straight on the GPU. No Electron, GPUI or webview.

Host-store domains: fill in local_echo_threshold_ms (and timeout)

RoversXe78f70b7a5cd
diff --git a/wezterm-gui/src/ssh_hosts.rs b/wezterm-gui/src/ssh_hosts.rs
index cc770722..feccf5dc 100644
--- a/wezterm-gui/src/ssh_hosts.rs
+++ b/wezterm-gui/src/ssh_hosts.rs
@@ -541,6 +541,13 @@ pub fn build_ssh_domain(spec: &SshHostSpec) -> SshDomain {
SshMultiplexing::None
},
ssh_option,
+ // The derived Default is all-zero here: the documented Some(100ms)
+ // predictive-echo threshold (and the read timeout) only apply when
+ // the domain is deserialized from lua config. Without them, mux
+ // sessions built from the host store never show local-echo
+ // predictions, no matter how laggy the link.
+ local_echo_threshold_ms: config::default_local_echo_threshold_ms(),
+ timeout: config::default_read_timeout(),
..Default::default()
}
}