mirror of
https://github.com/wez/wezterm.git
synced 2024-12-25 22:33:52 +03:00
14c613a064
The idea here is that different kinds of panes may want to expose additional metadata to lua scripts. It would be a bit weird to add a Pane method for each of those and plumb it all the way through the various APIs, so just allowing a pane impl to return a dynamic value (likely an Object) allows a bunch of flexibility. This commit exposes the clientpane is_tardy boolean and the time since the last data was recevied (since_last_response_ms) from the mux client pane implementation: these are used to show the tardiness indicator in the client pane. Exposing this data enables the user to add that info to their status bar if they wish.
49 lines
1.5 KiB
TOML
49 lines
1.5 KiB
TOML
[package]
|
|
name = "wezterm-client"
|
|
version = "0.1.0"
|
|
authors = ["Wez Furlong <wez@wezfurlong.org>"]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
async-trait = "0.1"
|
|
async_ossl = { path = "../async_ossl" }
|
|
codec = { path = "../codec" }
|
|
config = { path = "../config" }
|
|
filedescriptor = { version="0.8", path = "../filedescriptor" }
|
|
futures = "0.3"
|
|
lazy_static = "1.4"
|
|
log = "0.4"
|
|
libc = "0.2"
|
|
lru = "0.7"
|
|
metrics = { version="0.17", features=["std"]}
|
|
mux = { path = "../mux" }
|
|
# Constrained to the last version of openssl that builds together with
|
|
# `openssl-sys = "=0.9.71"` which we are constrained to in libssh-rs
|
|
# until it switches back to openssl 3.x.
|
|
# https://github.com/sfackler/rust-openssl/issues/1630
|
|
# https://github.com/sfackler/rust-openssl/pull/1578
|
|
# https://github.com/wez/libssh-rs/blob/main/libssh-rs-sys/Cargo.toml
|
|
openssl = "=0.10.38"
|
|
portable-pty = { path = "../pty", features = ["serde_support"]}
|
|
promise = { path = "../promise" }
|
|
rangeset = { path = "../rangeset" }
|
|
ratelim= { path = "../ratelim" }
|
|
smol = "1.2"
|
|
termwiz = { path = "../termwiz" }
|
|
textwrap = "0.15"
|
|
thiserror = "1.0"
|
|
umask = { path = "../umask" }
|
|
url = "2"
|
|
wezterm-dynamic = { path = "../wezterm-dynamic" }
|
|
wezterm-ssh = { path = "../wezterm-ssh" }
|
|
wezterm-term = { path = "../term", features=["use_serde"] }
|
|
|
|
[target."cfg(windows)".dependencies]
|
|
uds_windows = "1.0"
|
|
winapi = { version = "0.3", features = [
|
|
"winuser",
|
|
]}
|