summaryrefslogtreecommitdiff
path: root/core/Handover.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-19 23:51:23 -0300
committerGabriel Schneider <[email protected]>2026-11-20 00:00:00 -0300
commit8a1f65a2d374796b9b5559c4aab87c8d1e8f6e68 (patch)
tree24c4d770b8ac5a11e1f0169f9e0707fda8cde678 /core/Handover.zig
parentd236dff22567c2f563756695598678afb84fbef4 (diff)
parenta310585195484b8420f14cff3e736c604f47c11e (diff)
downloadpardes-8a1f65a2d374796b9b5559c4aab87c8d1e8f6e68.tar.gz
pardes-8a1f65a2d374796b9b5559c4aab87c8d1e8f6e68.zip
integration: the ruled renames on the documents and the load-independent tests: pardes-renames (config.Settings, macos.Callbacks, core/ninep/harness.zig, Pane.docked_to and the word Undock) and pardes-merge23; one conflict, in core/CHANGELOG.md, where both sides added Unreleased entries: both kept; no old name left in the tree; tui core-test 848/991 (143 skipped), shell-test 1027/1030, the window builds
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/Handover.zig')
-rw-r--r--core/Handover.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Handover.zig b/core/Handover.zig
index bcf42c31..dde31f8b 100644
--- a/core/Handover.zig
+++ b/core/Handover.zig
@@ -165,7 +165,7 @@ pub fn finish(h: *Handover, p: *Pardes, seq: u32, to: []const u8, failure: ?[]co
const pane = p.panes[id].?;
if (pane.file == null or pane.file.?.revision != revision) {
// Out of its group, or the owner's close would take it along.
- pane.attached_to = null;
+ pane.docked_to = null;
kept += 1;
continue;
}
@@ -277,7 +277,7 @@ pub fn adopt(p: *Pardes, bytes: []const u8) !usize {
for (st.owners, 0..) |owner, k| {
const at = owner orelse continue;
if (at >= n) continue;
- p.panes[slots[k]].?.attached_to = p.panes[slots[at]].?.serial;
+ p.panes[slots[k]].?.docked_to = p.panes[slots[at]].?.serial;
}
const tc = layout.targetColumn(p, x);
var heights: [MAX_PANES]u16 = @splat(0);