geforkt von Mirrors/Paper
Attempt to fix console crash
Dieser Commit ist enthalten in:
Ursprung
0df1d1a101
Commit
f040900d3c
@ -20,7 +20,11 @@ public class TerminalConsoleHandler extends ConsoleHandler {
|
|||||||
reader.printString(ConsoleReader.RESET_LINE + "");
|
reader.printString(ConsoleReader.RESET_LINE + "");
|
||||||
reader.flushConsole();
|
reader.flushConsole();
|
||||||
super.flush();
|
super.flush();
|
||||||
|
try {
|
||||||
reader.drawLine();
|
reader.drawLine();
|
||||||
|
} catch (Throwable ex) {
|
||||||
|
reader.getCursorBuffer().clearBuffer();
|
||||||
|
}
|
||||||
reader.flushConsole();
|
reader.flushConsole();
|
||||||
} catch (IOException ex) {
|
} catch (IOException ex) {
|
||||||
Logger.getLogger(TerminalConsoleHandler.class.getName()).log(Level.SEVERE, null, ex);
|
Logger.getLogger(TerminalConsoleHandler.class.getName()).log(Level.SEVERE, null, ex);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren