From de75b56d6c61dcc288422c1b9c2896d9884e0206 Mon Sep 17 00:00:00 2001 From: Melledy <52122272+Melledy@users.noreply.github.com> Date: Tue, 3 May 2022 21:06:08 -0700 Subject: [PATCH] Fix jline in eclipse --- src/main/java/emu/grasscutter/utils/JlineLogbackAppender.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/emu/grasscutter/utils/JlineLogbackAppender.java b/src/main/java/emu/grasscutter/utils/JlineLogbackAppender.java index 4027d726e..9b2dc3f20 100644 --- a/src/main/java/emu/grasscutter/utils/JlineLogbackAppender.java +++ b/src/main/java/emu/grasscutter/utils/JlineLogbackAppender.java @@ -14,7 +14,7 @@ public class JlineLogbackAppender extends ConsoleAppender { return; } Arrays.stream( - new String(encoder.encode(eventObject)).split("\n") + new String(encoder.encode(eventObject)).split("\n\r") ).forEach(Grasscutter.getConsole()::printAbove); } }