docs: Document local_echo_threshold_ms

Document the recently introduced 'local_echo_threshold_ms' config knob.
This commit is contained in:
Quentin Perret authored and Wez Furlong committed 2022-01-28 09:49:35 -08:00
1 parent 39086c048b
commit a52ef48add
3 files changed
+60

No files matched your search

+18
View File
@@ -108,3 +108,21 @@ return {
}
```
You may now specify the round-trip latency threshold for enabling predictive
local echo using `local_echo_threshold_ms`. If the measured round-trip latency
between the wezterm client and the server exceeds the specified threshold, the
client will attempt to predict the server's response to key events and echo the
result of that prediction locally without waiting, hence hiding latency to the
user. This option only applies when `multiplexing = "WezTerm"`.
```lua
return {
ssh_domains = {
{
name = "my.server",
remote_address = "192.168.1.1",
local_echo_threshold_ms = 10,
}
},
}
```
+22
View File
@@ -65,3 +65,25 @@ It is a lua object with the following fields:
-- remote_wezterm_path = "/home/myname/bin/wezterm"
}
```
*Since: nightly builds only*
You may now specify the round-trip latency threshold for enabling predictive
local echo using `local_echo_threshold_ms`. If the measured round-trip latency
between the wezterm client and the server exceeds the specified threshold, the
client will attempt to predict the server's response to key events and echo the
result of that prediction locally without waiting, hence hiding latency to the
user. This option only applies when `multiplexing = "WezTerm"`.
```lua
return {
tls_domains = {
{
name = "server,name",
bootstrap_via_ssh = "server.hostname",
remote_address = "server.hostname:8080",
local_echo_threshold_ms = 10,
}
},
}
```
+20
View File
@@ -157,6 +157,26 @@ return {
}
```
*Since: nightly builds only*
You may now specify the round-trip latency threshold for enabling predictive
local echo using `local_echo_threshold_ms`. If the measured round-trip latency
between the wezterm client and the server exceeds the specified threshold, the
client will attempt to predict the server's response to key events and echo the
result of that prediction locally without waiting, hence hiding latency to the
user. This option only applies when `multiplexing = "WezTerm"`.
```lua
return {
unix_domains = {
{
name = "unix",
local_echo_threshold_ms = 10,
}
},
}
```
### Connecting into Windows Subsystem for Linux
*Note: this only works with WSL 1. [WSL 2 doesn't support AF_UNIX interop](https://github.com/microsoft/WSL/issues/5961)*