From c1066307300514195bccfbb0a53f77b61c794e7e Mon Sep 17 00:00:00 2001 From: Ethan Pailes Date: Thu, 15 Oct 2026 22:12:45 +0000 Subject: [PATCH] bump shpool-vterm to 0.2.8 This should pick up a bunch of fixes. After this, I think it will be a reasonable thing to recommend people start using (though 0.2.7 is already pretty good). Also fixed a lint to get CI passing. Also attempts to fix a flaky test in the config watcher. --- Cargo.lock | 5 +++-- libshpool/Cargo.toml | 2 +- libshpool/src/daemon/shell.rs | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4bd1871d..4b6e25cd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1026,11 +1026,12 @@ dependencies = [ [[package]] name = "shpool-vterm" -version = "0.2.2" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe03f99c0b6f0479ed1464eee5af8a478b09f8a117e94c6112bcb92f4364b44d" +checksum = "9b62c87971cb7c1986e215f18713f174550922197a95f0941cbe7e0e3b0d4582" dependencies = [ "anyhow", + "bitflags", "bitvec", "itoa", "log", diff --git a/libshpool/Cargo.toml b/libshpool/Cargo.toml index 41eb3e81..24c94e9c 100644 --- a/libshpool/Cargo.toml +++ b/libshpool/Cargo.toml @@ -35,7 +35,7 @@ log = "0.4" # logging facade (not used directly, but required if we have tracing tracing = "0.1" # logging and performance monitoring facade rmp-serde = "1" # serialization for the control protocol shpool_vt100 = "0.1.3" # terminal emulation for the scrollback buffer -shpool-vterm = "0.2.2" # alt terminal emulation for the scrollback buffer +shpool-vterm = "0.2.8" # alt terminal emulation for the scrollback buffer shell-words = "1" # parsing the -c/--cmd argument motd = { version = "0.2.2", default-features = false, features = [] } # getting the message-of-the-day termini = "1.0.0" # terminfo database diff --git a/libshpool/src/daemon/shell.rs b/libshpool/src/daemon/shell.rs index 56aa3d26..bcc7657c 100644 --- a/libshpool/src/daemon/shell.rs +++ b/libshpool/src/daemon/shell.rs @@ -517,7 +517,7 @@ impl SessionInner { // send the restore buffer, broken up into chunks so // that we don't make the client // allocate too much - for block in restore_buf.as_slice().chunks(consts::BUF_SIZE) { + for block in restore_buf.chunks(consts::BUF_SIZE) { let chunk = Chunk { kind: ChunkKind::Data, buf: block }; if let Err(err) = chunk.write_to(&mut conn.sink) {