mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
JS: fix writing from JS to stdout
This commit is contained in:
parent
70e37dfed9
commit
68efdddddf
|
@ -54,7 +54,7 @@ public final class Console {
|
||||||
} else {
|
} else {
|
||||||
for (int i = 0; i < len; ++i) {
|
for (int i = 0; i < len; ++i) {
|
||||||
byte b = data[i + off];
|
byte b = data[i + off];
|
||||||
writeJs(b & 0xFF);
|
writeJsStdout(b & 0xFF);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user