diff options
Diffstat (limited to 'anim/scenes/syscalls.zig')
| -rw-r--r-- | anim/scenes/syscalls.zig | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/anim/scenes/syscalls.zig b/anim/scenes/syscalls.zig index c981e58..6e2f0b9 100644 --- a/anim/scenes/syscalls.zig +++ b/anim/scenes/syscalls.zig @@ -24,8 +24,9 @@ const lines = [_][]const u8{ fn frame(s: *anim.Frame) void { const rec = canim.open(recordings.hello); - // From main's first call to its last line. - var at = canim.cursor(s, rec, rec.lineMoment(6, rec.call("main", 0).enter)); + // From main's first line to its last: its first lines walked under the + // first caption, then a call a phrase. + var at = canim.cursor(s, rec, rec.call("main", 0).enter); at.journey(.line, rec.lineMoment(10, at.first)); const split = canim.layout.split.subject; at.levels = .{ .source_rows = 10 }; @@ -38,6 +39,7 @@ fn frame(s: *anim.Frame) void { const joins = ctx.ties(s); canim.establish(s, .{ ctx.clock, ctx.registers, ctx.stack, ctx.source, ctx.disasm, kernel, joins }); says.line(s, "A program cannot open a file or reach the screen itself.\nIt asks the kernel, and waits."); + at.walk(s, .line, rec.lineMoment(6, at.first)); // One call a phrase: its caption while nothing moves, then the crossing. for (lines) |line| { @@ -45,5 +47,5 @@ fn frame(s: *anim.Frame) void { canim.syscalls.step(at, s, .line); s.wait(t.phrase_rest); } - s.wait(t.before_cut - t.phrase_rest); + says.close(s); } |
