Move ansi console system install right into the bootstrap.

This commit is contained in:
md_5 2014-12-13 11:13:36 +11:00
parent ef364d9053
commit 45bf7a9ab9
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,7 @@
package net.md_5.bungee; package net.md_5.bungee;
import org.fusesource.jansi.AnsiConsole;
public class Bootstrap public class Bootstrap
{ {
@ -12,6 +14,8 @@ public class Bootstrap
return; return;
} }
AnsiConsole.systemInstall();
BungeeCordLauncher.main( args ); BungeeCordLauncher.main( args );
} }
} }

View File

@ -181,7 +181,7 @@ public class BungeeCord extends ProxyServer
} }
Log.setOutput( new PrintStream( ByteStreams.nullOutputStream() ) ); // TODO: Bug JLine Log.setOutput( new PrintStream( ByteStreams.nullOutputStream() ) ); // TODO: Bug JLine
AnsiConsole.systemInstall();
consoleReader = new ConsoleReader(); consoleReader = new ConsoleReader();
consoleReader.setExpandEvents( false ); consoleReader.setExpandEvents( false );