stdout/err from wasm package

This commit is contained in:
BuckarooBanzay 2024-01-08 15:36:53 +01:00
parent c60f7ae768
commit 4d60a935fa

View File

@ -91,5 +91,7 @@ export function execute(args) {
}
window.Module = {
canvas: canvas_el
canvas: canvas_el,
print: s => console.log("print", s),
printErr: s => console.warn("printErr", s)
};