diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-08 22:19:34 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-08 22:20:04 +0300 |
| commit | 793f127e54dd5f2cfb78922470b7efcb74a1fa5e (patch) | |
| tree | df9a925c7d4dc4be64ffd77cf5dfe3e5abb273a0 /tests/support | |
| parent | bb0dad86f81768c8b7d5894acf7cd53bd05d302b (diff) | |
feat(remote): add network-efficient thin client transport
Add SSH stdio remote attach, negotiate terminal-ANSI render encoding, move blit encoding server-side for remote clients, and split control/render writer delivery for safer backpressure.
Fixes #76
Diffstat (limited to 'tests/support')
| -rw-r--r-- | tests/support/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/support/mod.rs b/tests/support/mod.rs index 44c25188..d26a2043 100644 --- a/tests/support/mod.rs +++ b/tests/support/mod.rs @@ -177,6 +177,9 @@ fn decode_welcome(payload: &[u8]) -> Result<(u32, Option<String>), String> { let (version, consumed) = decode_varint_u32(payload, offset)?; offset += consumed; + let (_encoding, consumed) = decode_varint_u32(payload, offset)?; + offset += consumed; + if offset >= payload.len() { return Err("payload too short for Option tag".into()); } @@ -217,6 +220,7 @@ pub fn client_handshake( &encode_varint_u32(version), &encode_varint_u16(cols), &encode_varint_u16(rows), + &encode_varint_u32(0), // RenderEncoding::SemanticFrame ], ); let framed = frame_message(&hello_payload); |
