summaryrefslogtreecommitdiff
path: root/src/fs.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs.zig')
-rw-r--r--src/fs.zig5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fs.zig b/src/fs.zig
index b5cb979b..f6bf4fed 100644
--- a/src/fs.zig
+++ b/src/fs.zig
@@ -948,6 +948,10 @@ pub const Namespace = struct {
/// The editor-wide event ring: panes made, renamed, saved and closed, and
/// what the editor said. Recorded whether or not anyone reads /log.
log: tree.events.Queue = .{ .cap = limits.log_bytes },
+ /// Messages a plumbing rule's `client` holds for a port no one reads
+ /// yet (Plumb.zig), each its port's index then the message packed: the
+ /// port's first reader takes them (plumber(4)'s queueheld).
+ plumb_held: tree.events.Queue = .{},
/// What the last look or exec created or touched, answered by reading
/// either of those files.
results: [MAX_PANES]u32 = undefined,
@@ -969,6 +973,7 @@ pub const Namespace = struct {
for (st.closed_lines.items) |*line| line.bytes.deinit(gpa);
st.closed_lines.deinit(gpa);
st.log.deinit(gpa);
+ st.plumb_held.deinit(gpa);
st.out.deinit(gpa);
}