termio: more windows fixes

This commit is contained in:
Mitchell Hashimoto
2024-07-14 15:17:40 -07:00
parent b0cd40d1de
commit f0d896e11d

View File

@ -100,7 +100,7 @@ pub const Writer = union(enum) {
/// on the writer type.
pub fn notify(self: *Writer) void {
switch (self.*) {
.mailbox => |v| v.wakeup.notify() catch |err| {
.mailbox => |*v| v.wakeup.notify() catch |err| {
log.warn("failed to notify writer, data will be dropped err={}", .{err});
},
}