summaryrefslogtreecommitdiff
path: root/src/fs.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs.zig')
-rw-r--r--src/fs.zig7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/fs.zig b/src/fs.zig
index 7e387958..339910a4 100644
--- a/src/fs.zig
+++ b/src/fs.zig
@@ -1256,6 +1256,13 @@ pub const Namespace = struct {
out: std.ArrayList(u8) = .empty,
listeners: u16 = 0,
origin: u8 = 'K',
+ /// A ctl write is running builtins: one that would open a prompt for
+ /// its argument refuses (`refused`), since nobody is at the prompt.
+ no_prompt: bool = false,
+ refused: bool = false,
+ /// A refusal that quotes the message it refuses, as Plan 9's cmderror
+ /// does (kernel/misc/parse.c:82); answered at once (src/9p_io.zig).
+ ename: [128]u8 = undefined,
/// Something a held read may be waiting on changed since they were last
/// answered: a record queued, a run answered, a pane gone.
news: bool = false,