summaryrefslogtreecommitdiff
path: root/src/Tables.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Tables.zig')
-rw-r--r--src/Tables.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Tables.zig b/src/Tables.zig
index b0b1930e..c29e6954 100644
--- a/src/Tables.zig
+++ b/src/Tables.zig
@@ -883,7 +883,7 @@ test "tables: a markdown table is drawn aligned, its bytes in order, the caret a
var frame = std.heap.ArenaAllocator.init(testing.allocator);
defer frame.deinit();
const pane = try testPane(p, sample, frame.allocator());
- const r = p.rects[0];
+ const r = p.view().rects[0];
const text_x = r.x + config.GUTTER + File.gutterWidth(pane);
const body_y = p.bodyTop(pane, r);
// The k-th pipe of every row on one screen column.