From 793f127e54dd5f2cfb78922470b7efcb74a1fa5e Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Fri, 8 May 2026 22:19:34 +0300 Subject: 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 --- tests/support/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/support') 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> { 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); -- cgit v1.2.3