diff --git a/classlib/src/main/java/org/teavm/classlib/java/io/TPrintStream.java b/classlib/src/main/java/org/teavm/classlib/java/io/TPrintStream.java index 431e80fd3..bfeed1305 100644 --- a/classlib/src/main/java/org/teavm/classlib/java/io/TPrintStream.java +++ b/classlib/src/main/java/org/teavm/classlib/java/io/TPrintStream.java @@ -208,12 +208,12 @@ public class TPrintStream extends TFilterOutputStream { } public void println(char c) { - sb.append(c); + sb.append(c).append('\n'); printSB(); } public void println(boolean b) { - sb.append(b); + sb.append(b).append('\n'); printSB(); }