diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-22 23:20:38 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-22 23:20:38 -0300 |
| commit | e6dd9c5c3a60e3609e99ab2076b5a2509a014a66 (patch) | |
| tree | 59e10d535fbb5ddf1a971c391e0e6b0981a6d409 /runtime | |
| parent | 6270f531cd89130a26ee3d5423a740db707f8888 (diff) | |
| parent | 9e5b54cfdf73728745d2aeaafac00d823114543e (diff) | |
| download | pardes-e6dd9c5c3a60e3609e99ab2076b5a2509a014a66.tar.gz pardes-e6dd9c5c3a60e3609e99ab2076b5a2509a014a66.zip | |
integration (a base for the next rounds, not yet the gathered line): the pair's round 12 on the viewport's line with a client's way back: pardes-m60-base (`pyquvrsv`: pardes-viewport + pardes-upgrade-back) and pardes-pair-12 (`mlutslkp` on `ntlpyokw` on `zsquynqy` on `wowqsyxt`, on pardes-raw-tty: a 9P request that changes the core waits for the pty output read before it (`Turn.awaitOutput`: pagercolor's cause on both paths); a pair's client takes the tests' clock; the pair rows name the side that went; the soak with a pair among its sides); no conflict; core-test 918/1078 (160 skipped), shell-test 1120/1123 (2026-11-22)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'runtime')
| -rw-r--r-- | runtime/9p_io.zig | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/9p_io.zig b/runtime/9p_io.zig index 1079b102..50011690 100644 --- a/runtime/9p_io.zig +++ b/runtime/9p_io.zig @@ -183,8 +183,13 @@ pub const Listener = struct { const refused = pardes.ctlfs.Reply.fail(req.tag, pardes.ctlfs.E.IO); return conn.reply(&refused, ""); } - const quiet = pardes.turn.take(); + _ = pardes.turn.take(); defer pardes.turn.give(); + // What changes the core comes after the output already read out of + // the ptys (a pane's `cmd | pardes -`: its pager after the line's + // echo); quiet asked after that wait, which gave the turn up. + if (pardes.ctlfs.needsQuiet(l.core, req)) pardes.turn.awaitOutput(); + const quiet = pardes.turn.out == 0; // A connection a Restore is cutting (`reset`) is the old editor's // client: its fids name the old editor's panes and opens. if (l.cutting(conn)) { |
