summaryrefslogtreecommitdiff
path: root/src/tape.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/tape.zig')
-rw-r--r--src/tape.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tape.zig b/src/tape.zig
index 4db78b86..c617f2a2 100644
--- a/src/tape.zig
+++ b/src/tape.zig
@@ -1244,10 +1244,10 @@ pub fn startFromEnv() void {
/// `PARDES_REPLAY=<tape>`: the tape replayed into three replicas, each
/// digest checked; 0 when none diverged.
-pub fn replayMain(io: std.Io, path: []const u8) u8 {
+pub fn replayMain(path: []const u8) u8 {
const gpa = std.heap.c_allocator;
// What a shell starts before its core (tui.zig's localSession).
- pardes.TerminalImages.start(io, gpa);
+ pardes.TerminalImages.start(gpa);
pardes.syntax.start(gpa);
const bytes = std.Io.Dir.cwd().readFileAlloc(std.Io.Threaded.global_single_threaded.io(), path, gpa, .unlimited) catch |err| {
std.debug.print("replay: cannot read {s}: {t}\n", .{ path, err });