diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-29 05:24:25 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:16 -0300 |
| commit | 637ab988f0922173055ea98b1f76916e42f4222a (patch) | |
| tree | 4b28a9f9409482e58f091cee3e3844c1643c0144 /src/fs.zig | |
| parent | e9eae368dbbe855ad2f409913ff0d44d5ac32bd8 (diff) | |
| download | pardes-637ab988f0922173055ea98b1f76916e42f4222a.tar.gz pardes-637ab988f0922173055ea98b1f76916e42f4222a.zip | |
A prompt a 9P request opens is an ask, answered with answer, never stacked
Save through exec on a terminal (or a scratch) opened its path prompt on
screen, where no script could see or answer it, and a second Save stacked
another. Opened while a 9P request is served, it now logs ask <serial>
save path; answer <path> on the pane's ctl saves there and closes it,
answer - closes it; asked again, the open one stands. A pane closed with
it open logs answer <serial> -.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/fs.zig')
| -rw-r--r-- | src/fs.zig | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1274,6 +1274,9 @@ pub const Namespace = struct { /// A ctl write's failure is being said: its err record logs it, so /// no msg does (Messages.reportFailure). unlogged: bool = false, + /// A 9P request is being served (Pardes.serveFs): a prompt it opens is + /// a question for the log (`ask`), answered with `answer`. + serving: bool = false, refused: bool = false, failure: [256]u8 = undefined, failure_len: u16 = 0, |
