summaryrefslogtreecommitdiff
path: root/src/TerminalImages.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/TerminalImages.zig')
-rw-r--r--src/TerminalImages.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TerminalImages.zig b/src/TerminalImages.zig
index ab8ee099..06b96f4b 100644
--- a/src/TerminalImages.zig
+++ b/src/TerminalImages.zig
@@ -153,7 +153,7 @@ pub fn draw(
// Animations step on the core's clock, as this frame shows them; the
// shown frame is `renderData()` (a new `generation` each step, which
// the caches key on).
- const now_ms = p.stepped_ns / std.time.ns_per_ms;
+ const now_ms = p.clock.stepped_ns / std.time.ns_per_ms;
ti.animation_due_ms = if (storage.animationTick(vt.io(), now_ms)) |delay| now_ms +| delay else null;
const pages = &screen.pages;
const top = pages.getTopLeft(.viewport);