From 6d7b506c8a380e4dd97f337590ca079d810a360a Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 15 Sep 2026 13:46:50 -0300 Subject: Follow embedded PDF links through Look --- src/detached/client.zig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/detached/client.zig') diff --git a/src/detached/client.zig b/src/detached/client.zig index 0350ecf7..affa070e 100644 --- a/src/detached/client.zig +++ b/src/detached/client.zig @@ -101,6 +101,7 @@ pub const Client = struct { /// `cols * rows` cells: what the session is showing right now. grid: std.ArrayListUnmanaged(pardes.Cell) = .empty, cursor: ?wire.Cursor = null, + pointer_shape: pardes.Surface.PointerShape = .arrow, in: std.ArrayListUnmanaged(u8) = .empty, out: std.ArrayListUnmanaged(u8) = .empty, /// Bytes of `in` belonging to the message `next` returned last. Compacted at @@ -311,6 +312,7 @@ pub const Client = struct { } try f.apply(c.grid.items); c.cursor = f.cursor; + c.pointer_shape = f.pointer_shape; }, // The session has ended. Left for the caller to act on, and the // descriptor stays open so `deinit` is the only place that closes. @@ -351,6 +353,7 @@ pub const Client = struct { c.cols = cols; c.rows = rows; c.cursor = null; + c.pointer_shape = .arrow; } /// Take everything the kernel is holding, not one chunk of it. The server -- cgit v1.3