diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-26 10:44:54 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-26 10:44:54 -0300 |
| commit | 8723462d8e02bc9d78b5004de38b910e83540575 (patch) | |
| tree | f264bf364d41f3b334416618e973ec12cba0ddc9 /core/dump.zig | |
| parent | 7911c53d5f08c7d8df3eb59061841daddb1d0e83 (diff) | |
| parent | f11b123a8f4c38b6582c03d2acf84143ed1e7fd3 (diff) | |
| download | pardes-8723462d8e02bc9d78b5004de38b910e83540575.tar.gz pardes-8723462d8e02bc9d78b5004de38b910e83540575.zip | |
merge: M2's fix (dump.load resolves the chrome) + FP (PDF preview leaks, the spawn stop, PDF hits ABI 3.4)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'core/dump.zig')
| -rw-r--r-- | core/dump.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/dump.zig b/core/dump.zig index a2b22cef..b1fad70e 100644 --- a/core/dump.zig +++ b/core/dump.zig @@ -1013,6 +1013,10 @@ pub fn plainHere(p: *Pardes, id: usize, old: *Kind.Slot, ops: *const Kind.Ops) ! s.selection = try p.gpa.dupe(u8, old.selection); // (and its place: the open's own `where` is of a block not yet the session's) const kept = .{ old.next_tick, old.views, old.focused, old.state, old.where_text }; + // The count of writes outside the copy stays the session's, as dumped: + // this open is the join's, no step the session took (Kind.reopen). + const outside = p.outside; + defer p.outside = outside; if (!Kind.reopen(p, id, s, old.file)) return error.KindRefused; // Its block the session's, byte for byte (its record), never through // the kind's load, which may tidy it. |
