From 485346c69446296499296c6e0854e4c33e7c4b00 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 14 Jul 2024 18:15:19 -0700 Subject: [PATCH] termio: more windows fixes --- src/termio/Thread.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/termio/Thread.zig b/src/termio/Thread.zig index f24fcf0df..d61301f5c 100644 --- a/src/termio/Thread.zig +++ b/src/termio/Thread.zig @@ -202,7 +202,7 @@ fn threadMain_(self: *Thread, io: *termio.Termio) !void { // Get the writer. This must be a mailbox writer for threading. const writer = switch (io.writer) { - .mailbox => |v| v, + .mailbox => |*v| v, // else => return error.TermioUnsupportedWriter, };