summaryrefslogtreecommitdiff
path: root/core/panes.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-21 05:26:38 -0300
committerGabriel Schneider <[email protected]>2026-11-21 05:30:39 -0300
commite29ff73bbb2c198afbb894ee98854da2d9a7be7d (patch)
tree17cf56b16272f43fdb789174350681641876e170 /core/panes.zig
parent63538d28cee238ff53c731f965c22e615d43bec1 (diff)
parentfe0aa07c18a9fd5ca6bdcb78e9354a2745e32298 (diff)
downloadpardes-e29ff73bbb2c198afbb894ee98854da2d9a7be7d.tar.gz
pardes-e29ff73bbb2c198afbb894ee98854da2d9a7be7d.zip
integration: the pair's finished steps on the gathered line: pardes-pair-4 (`rustnvoo`: an attach handed to a session as it upgrades is told so and joins the new process; the fast start, the boot as input zero: the wire at 27; a window client exec'd at an Upgrade comes back the size it was) and pardes-merge47 (`rprvwpnv`: the terminals' line at 26 and the library for a browser reader); three textual conflicts: abi/wire.zig's history says 27 and 26 each in its own words and the version is 27, test/daemon.py's WIRE is 27, core/replica.zig's Link keeps both lines' fields (the lag bound's `behind`, `least`, `fresh`, `lagged`; the pair's `held`); core-test 885/1045 (160 skipped), shell-test 1087/1090; its gate: .scratch/sketch/reorg/merge48, the numbers in PARDES.md (2026-11-21)
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/panes.zig')
-rw-r--r--core/panes.zig5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/panes.zig b/core/panes.zig
index 15e1db50..658de219 100644
--- a/core/panes.zig
+++ b/core/panes.zig
@@ -1194,9 +1194,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 ----