Move ansi console system install right into the bootstrap.
This commit is contained in:
parent
ef364d9053
commit
45bf7a9ab9
@ -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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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 );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user