From ae9cdad2281bd3e83b088800dd7488692ebf6a11 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Mon, 15 Jul 2024 07:27:46 -0700 Subject: [PATCH] ssh domains: use default local echo threshol The implementation of this is a bit gnarly, because we have an optional value with a default that *is* populated by the dynamic config stuff, but that isn't part of the derive(Debug) impl. closes: https://github.com/wez/wezterm/issues/5547 --- config/src/ssh.rs | 2 ++ docs/changelog.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/config/src/ssh.rs b/config/src/ssh.rs index e725800fd..7fc0e3103 100644 --- a/config/src/ssh.rs +++ b/config/src/ssh.rs @@ -119,6 +119,7 @@ impl SshDomain { name: format!("SSH:{host}"), remote_address: host.to_string(), multiplexing: SshMultiplexing::None, + local_echo_threshold_ms: default_local_echo_threshold_ms(), ..SshDomain::default() }); @@ -126,6 +127,7 @@ impl SshDomain { name: format!("SSHMUX:{host}"), remote_address: host.to_string(), multiplexing: SshMultiplexing::WezTerm, + local_echo_threshold_ms: default_local_echo_threshold_ms(), ..SshDomain::default() }); } diff --git a/docs/changelog.md b/docs/changelog.md index a27073267..398724268 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -93,6 +93,8 @@ As features stabilize some brief notes about them will accumulate here. `pixel_height`. * ssh: we now explicitly kill and reap the `ProxyCommand` associated with an ssh session. Thanks to @daaku! #5494 #5479 +* `default_ssh_domains()` didn't use the default local echo threshold + for ssh domains. #5547 #### Updated * Bundled conpty.dll and OpenConsole.exe to build 1.19.240130002.nupkg