summaryrefslogtreecommitdiff
path: root/src/Query.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Query.zig')
-rw-r--r--src/Query.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Query.zig b/src/Query.zig
index 3337a575..7347b21c 100644
--- a/src/Query.zig
+++ b/src/Query.zig
@@ -2175,7 +2175,7 @@ test "a / query: keystroke by keystroke, the owner shows the set, rows from its
defer p.deinit();
const pane = try p.setTestFile("alpha one\nbeta\nalphabet\ngamma alpha\nalpha two\ndelta\n");
p.newScratchBelow(0);
- const below = p.col_panes[0][1];
+ const below = p.cols[0].panes[1];
p.active = 0;
layout.compute(p);
const before = p.rects;
@@ -2340,7 +2340,7 @@ test "Find: names fuzzy per keystroke, the group born with its +Preview, nothing
defer p.deinit();
_ = try testFileIn(p, &tmp, "x.txt", "x\n");
p.newScratchBelow(0);
- const other = p.col_panes[0][1];
+ const other = p.cols[0].panes[1];
try std.testing.expect(layout.splitColumn(p, other, other, false));
p.active = 0;
layout.compute(p);