summaryrefslogtreecommitdiff
path: root/src/screen_state.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen_state.zig')
-rw-r--r--src/screen_state.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen_state.zig b/src/screen_state.zig
index 07d4153b..1416ef42 100644
--- a/src/screen_state.zig
+++ b/src/screen_state.zig
@@ -1280,7 +1280,7 @@ test "a replica's terminal pane draws as its authority's does" {
_ = fb.reset(.retain_capacity);
const sa = try a.render(fa.allocator());
const sb = try b.render(fb.allocator());
- const r = a.rects[0];
+ const r = a.view().rects[0];
// The body: below the pane's tag row.
for (r.y + 1..r.y + r.h) |y| for (r.x..r.x + r.w) |x| {
const ca = sa.at(@intCast(x), @intCast(y));