diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-19 23:51:23 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-20 00:00:00 -0300 |
| commit | 8a1f65a2d374796b9b5559c4aab87c8d1e8f6e68 (patch) | |
| tree | 24c4d770b8ac5a11e1f0169f9e0707fda8cde678 /core/panes.zig | |
| parent | d236dff22567c2f563756695598678afb84fbef4 (diff) | |
| parent | a310585195484b8420f14cff3e736c604f47c11e (diff) | |
| download | pardes-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/panes.zig')
| -rw-r--r-- | core/panes.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/panes.zig b/core/panes.zig index b928917a..72ca3eea 100644 --- a/core/panes.zig +++ b/core/panes.zig @@ -144,7 +144,7 @@ pub const Pane = struct { /// closes with it (layout.zig, "Attached panes"). An owner that is /// gone, or a pane no longer right under its owner's group, leaves it /// an ordinary pane (layout.keepGroups). - attached_to: ?u32 = null, + docked_to: ?u32 = null, /// This pane is a query pane: its line 1 the query, its rows made live /// from a source (Query.zig, gpa-owned). query: ?*Query = null, @@ -1437,7 +1437,7 @@ pub fn removePane(p: *Pardes, id: usize, to: ?usize) error{OutOfMemory}!void { const pane = p.panes[id] orelse return; // What is attached to it closes with it, first, each giving its rows // back to it: then its rows, theirs among them, go where a pane's go. - for (0..p.panes.len) |k| if (p.panes[k]) |other| if (k != id and other.attached_to == pane.serial) { + for (0..p.panes.len) |k| if (p.panes[k]) |other| if (k != id and other.docked_to == pane.serial) { if (layout.ownerOf(p, k) != id) continue; try p.removePane(k, id); layout.compute(p); |
