From 68efdddddf8ecd3299897f9f17e00cd7a024b175 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Wed, 16 Nov 2022 16:41:29 +0100 Subject: [PATCH] JS: fix writing from JS to stdout --- .../src/main/java/org/teavm/classlib/impl/console/Console.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classlib/src/main/java/org/teavm/classlib/impl/console/Console.java b/classlib/src/main/java/org/teavm/classlib/impl/console/Console.java index 7e493f2ae..5c489d692 100644 --- a/classlib/src/main/java/org/teavm/classlib/impl/console/Console.java +++ b/classlib/src/main/java/org/teavm/classlib/impl/console/Console.java @@ -54,7 +54,7 @@ public final class Console { } else { for (int i = 0; i < len; ++i) { byte b = data[i + off]; - writeJs(b & 0xFF); + writeJsStdout(b & 0xFF); } } }