summaryrefslogtreecommitdiff
path: root/src/TerminalImages.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/TerminalImages.zig')
-rw-r--r--src/TerminalImages.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TerminalImages.zig b/src/TerminalImages.zig
index 9c44ec40..0aee6b52 100644
--- a/src/TerminalImages.zig
+++ b/src/TerminalImages.zig
@@ -148,8 +148,8 @@ pub fn draw(
const pages = &screen.pages;
const top = pages.getTopLeft(.viewport);
const bottom = pages.getBottomRight(.viewport) orelse return;
- const cw: u32 = @max(1, p.cell_pixels.w);
- const ch: u32 = @max(1, p.cell_pixels.h);
+ const cw: u32 = @max(1, p.view().cell_pixels.w);
+ const ch: u32 = @max(1, p.view().cell_pixels.h);
const ctx: Ctx = .{ .ti = ti, .p = p, .pane = pane_id, .serial = serial, .tx = tx, .body_y = body_y, .cols = cols, .rows_of = rows_of, .cw = cw, .ch = ch };
// Handed on lowest z first (the storage's order is a hash map's), the
// order a shell draws them in; equal z keeps the order they came in.