diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-20 19:02:34 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-20 19:02:34 -0300 |
| commit | 486f347adeed5bac6aaabe8be34e6a69bf323a62 (patch) | |
| tree | da8b333b4033889aa2fd16ab7f5a4bef35b0401d /runtime/session.zig | |
| parent | 4053e62a2aabd794db9075d93ebe57eec3f432a6 (diff) | |
| parent | 06f6c72583faf8256190a0ae195a8085e7cd7f32 (diff) | |
| download | pardes-486f347adeed5bac6aaabe8be34e6a69bf323a62.tar.gz pardes-486f347adeed5bac6aaabe8be34e6a69bf323a62.zip | |
integration: six small faults on a hang-up as a close: pardes-faults-6 (a hang-up with no daemon kills the language servers' children; the daemon's reader hands a note under a lock; a retried Edit write answered from the listener's hold; the cursor hidden when a frame has no caret; syntax-test deleted and the grammar tiers' tests skipping; the tty harness's Esc after what came before is read) and pardes-merge41, merged without a textual conflict; tui core-test 874/1031 (157 skipped), shell-test 1073/1076, term-test 17/17, both soaks diverged 0, unequal 0, unlisted 0, the window builds; the coordinator's gate in the ledger (reorg/merge42)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'runtime/session.zig')
| -rw-r--r-- | runtime/session.zig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/session.zig b/runtime/session.zig index 8630495c..60644aa6 100644 --- a/runtime/session.zig +++ b/runtime/session.zig @@ -101,10 +101,13 @@ pub fn Loop(comptime Frontend: type) type { l.host = try fe.open(&l); defer fe.close(&l); - daemon.notesTo(&l, note); defer l.peers.deinit(); // Before the core goes: each client sees its link end. defer l.peers.dropAll(l.core); + // The daemon's notes, to the loop until its state goes (the + // reader runs on until main's `daemon.quit`). + daemon.notesTo(.{ .ctx = &l, .deliver = note }); + defer daemon.notesTo(null); // A first client on the socket it was started with, before its // first effects: it has every terminal from its first byte, and // no reload (Core.openView). |
