summaryrefslogtreecommitdiff
path: root/src/ninep/screen.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/ninep/screen.zig')
-rw-r--r--src/ninep/screen.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ninep/screen.zig b/src/ninep/screen.zig
index 1743fbb6..89ca369b 100644
--- a/src/ninep/screen.zig
+++ b/src/ninep/screen.zig
@@ -19,6 +19,10 @@ pub const Snapshot = struct {
next: u64 = 0,
/// How much of record `next` a short read already took.
part: u32 = 0,
+ /// /log only: how much of `bytes` this open has read. Reads walk it as a
+ /// stream and ignore their offset, since `exec 3<>log; echo follow >&3`
+ /// leaves the shared offset past the word it wrote.
+ pos: u64 = 0,
};
pub const snapshot_slots = 32;