diff --git a/proxy/src/main/java/net/md_5/bungee/log/ColouredWriter.java b/proxy/src/main/java/net/md_5/bungee/log/ColouredWriter.java index 6e74b5017d..d5bba2627d 100644 --- a/proxy/src/main/java/net/md_5/bungee/log/ColouredWriter.java +++ b/proxy/src/main/java/net/md_5/bungee/log/ColouredWriter.java @@ -8,6 +8,7 @@ import jline.console.ConsoleReader; import net.md_5.bungee.api.ChatColor; import org.fusesource.jansi.Ansi; +import org.fusesource.jansi.Ansi.Erase; public class ColouredWriter extends Handler { @@ -52,7 +53,7 @@ public void print(String s) } try { - console.print( ConsoleReader.RESET_LINE + s + Ansi.ansi().reset().toString() ); + console.print( Ansi.ansi().eraseLine(Erase.ALL).toString() + ConsoleReader.RESET_LINE + s + Ansi.ansi().reset().toString() ); console.drawLine(); console.flush(); } catch ( IOException ex )