projects
/
onyx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c11e1da
)
bugfix with stdio_stream not having correct flags
symbol-info
author
Brendan Hansen
<brendan.f.hansen@gmail.com>
Wed, 8 Feb 2023 20:01:00 +0000
(14:01 -0600)
committer
Brendan Hansen
<brendan.f.hansen@gmail.com>
Wed, 8 Feb 2023 20:01:00 +0000
(14:01 -0600)
core/io/stdio.onyx
patch
|
blob
|
history
diff --git
a/core/io/stdio.onyx
b/core/io/stdio.onyx
index 34a7dd545ea771d2d2988d3dfd5f830f8583f4ff..6b7174f0dfc684d5c7a044156b6168bc0ad3fe76 100644
(file)
--- 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