From 76065f1a7b67279ccb8c871996cef296cf71350c Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Wed, 8 Feb 2023 14:01:00 -0600 Subject: [PATCH] bugfix with stdio_stream not having correct flags --- core/io/stdio.onyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/io/stdio.onyx b/core/io/stdio.onyx index 34a7dd54..6b7174f0 100644 --- a/core/io/stdio.onyx +++ b/core/io/stdio.onyx @@ -11,7 +11,7 @@ package core #error "'stdio' can only be included in the 'wasi' or 'js' runtime." } -stdio_stream: io.Stream = .{ vtable = ^stdio_vtable }; +stdio_stream: io.Stream = .{ vtable = ^stdio_vtable, flags = .Block_On_Read }; auto_flush_stdio := true -- 2.25.1