bugfix with stdio_stream not having correct flags symbol-info
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Wed, 8 Feb 2023 20:01:00 +0000 (14:01 -0600)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Wed, 8 Feb 2023 20:01:00 +0000 (14:01 -0600)
core/io/stdio.onyx

index 34a7dd545ea771d2d2988d3dfd5f830f8583f4ff..6b7174f0dfc684d5c7a044156b6168bc0ad3fe76 100644 (file)
@@ -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