mirror of
https://github.com/mamoe/mirai.git
synced 2025-04-25 04:50:26 +08:00
Initialize jline first; #1936
This commit is contained in:
parent
80fa25c316
commit
d3c230ad12
@ -175,6 +175,7 @@ internal fun overrideSTD(terminal: MiraiConsoleImplementation) {
|
||||
if (ConsoleTerminalSettings.noConsole) {
|
||||
SystemOutputPrintStream // Avoid StackOverflowError when launch with no console mode
|
||||
}
|
||||
lineReader // Initialize real frontend first. #1936
|
||||
System.setOut(
|
||||
PrintStream(
|
||||
BufferedOutputStream(
|
||||
|
Loading…
Reference in New Issue
Block a user