From: Brendan Hansen Date: Wed, 8 Feb 2023 20:01:00 +0000 (-0600) Subject: bugfix with stdio_stream not having correct flags X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=refs%2Fheads%2Fsymbol-info;p=onyx.git bugfix with stdio_stream not having correct flags --- 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