diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-21 02:55:12 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-21 03:01:52 -0300 |
| commit | f395894dd27c2d7a78c14f21b3c857d90db13800 (patch) | |
| tree | 522dbcf3a02bad8cb9188af323defe523c3df60a /core/panes.zig | |
| parent | 63f59cbf3092c8bb7e3eae155969c0249fe2063d (diff) | |
| parent | 774efcc950662cd20c1b4a41d002ce421067564f (diff) | |
| download | pardes-f395894dd27c2d7a78c14f21b3c857d90db13800.tar.gz pardes-f395894dd27c2d7a78c14f21b3c857d90db13800.zip | |
integration: the pair's fast start on the landed main: pardes-pair-start (`xrkvvkkk`, the boot as input zero: the client makes its own core and says its digest, `boot`; the session's dump only when they differ) merged over main (merges 40 to 44: the typed slot fields, the 9P state in the join's dump and digest) and step 1 of pardes-pair-4; three conflicts, none by the compiler: abi/wire.zig's history and version (main 25, the boot 26: now 27, as 26 is the terminals' line's, merging now), Peers.join's welcome (main's typed `peer.view` with the boot's `peer.digest = digest` before it), `replica.join`'s first dial (the boot took the pair's arm out, step 1 put the upgrading redial in: both kept), test/daemon.py WIRE 27; tui core-test 878/1036 (158 skipped), shell-test 1078/1081
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/panes.zig')
| -rw-r--r-- | core/panes.zig | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/panes.zig b/core/panes.zig index 174af241..3d6e8754 100644 --- a/core/panes.zig +++ b/core/panes.zig @@ -1186,9 +1186,10 @@ pub const emulator_gpa = std.heap.c_allocator; /// What a terminal's emulator is made with, by `createTerminal` or a pane's /// load (dump.loadPane, a closed terminal brought back): `gpa`, but on a -/// replica `emulator_gpa`. +/// replica `emulator_gpa`, and in a replica's core being made (its dump's +/// load, a pair's client's own boot) `dump.terminal_gpa`. pub fn emulatorGpa(gpa: std.mem.Allocator) std.mem.Allocator { - return if (tape.replaying()) emulator_gpa else gpa; + return if (tape.replaying()) emulator_gpa else pardes.dump.terminal_gpa orelse gpa; } // ---- the session's pane slots: making, finding, closing and freeing panes, and their prompts ---- |
