commit | 729acd5636519d5da434ccba5258c751c8f839ab | [log] [tgz] |
---|---|---|
author | swissChili <swisschili@fastmail.com> | Tue Mar 05 11:52:45 2024 -0500 |
committer | swissChili <swisschili@fastmail.com> | Tue Mar 05 11:52:45 2024 -0500 |
tree | 4d3661bb3b1cbc6aa629424b8b1dfb967358963c |
Initial commit
diff --git a/module-pre.js b/module-pre.js new file mode 100644 index 0000000..bb23b71 --- /dev/null +++ b/module-pre.js
@@ -0,0 +1,5 @@ +globalThis.printBuffer = ''; + +Module['print'] = function (out) { + globalThis.printBuffer += out + "\n"; +};