diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-07 21:41:13 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-07 21:48:50 +0300 |
| commit | b0aa7b2cddc57a55a1c0285a1ea82b59ac9783bd (patch) | |
| tree | 866e4bd3322e69c4916457cde420c7e4b74792ef /tests/multi_client.rs | |
| parent | dcfe11a7588fcd42471159453810abc9b7720a57 (diff) | |
fix: preserve osc8 hyperlinks in client rendering
fixes #73
Diffstat (limited to 'tests/multi_client.rs')
| -rw-r--r-- | tests/multi_client.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/multi_client.rs b/tests/multi_client.rs index 062a0f60..f65538b4 100644 --- a/tests/multi_client.rs +++ b/tests/multi_client.rs @@ -542,7 +542,7 @@ fn client_handshake( fn connect_raw_client(client_socket: &Path, cols: u16, rows: u16) -> UnixStream { let mut stream = UnixStream::connect(client_socket).expect("should connect to client socket"); - client_handshake(&mut stream, 2, cols, rows).expect("handshake should succeed"); + client_handshake(&mut stream, 3, cols, rows).expect("handshake should succeed"); stream } @@ -565,14 +565,17 @@ fn send_client_detach(stream: &mut UnixStream) { stream.flush().unwrap(); } +#[allow(dead_code)] #[derive(Debug, Deserialize)] struct FrameWire { cells: Vec<CellWire>, width: u16, height: u16, cursor: Option<CursorWire>, + hyperlinks: Vec<String>, } +#[allow(dead_code)] #[derive(Debug, Deserialize)] struct CellWire { symbol: String, @@ -580,6 +583,7 @@ struct CellWire { bg: u32, modifier: u16, skip: bool, + hyperlink: Option<u32>, } #[derive(Debug, Deserialize)] |
