termio: more windows fixes

This commit is contained in:
Mitchell Hashimoto
2024-07-14 18:15:19 -07:00
parent f0d896e11d
commit 485346c694

View File

@ -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,
};