mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 23:38:25 +01:00
Added ">" to input command line, separated it from output buffer properly
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
d865062d64
commit
4908869924
1 changed files with 5 additions and 3 deletions
|
@ -16,12 +16,14 @@ public class TerminalConsoleHandler extends ConsoleHandler {
|
|||
|
||||
@Override
|
||||
public synchronized void flush() {
|
||||
super.flush();
|
||||
try {
|
||||
reader.redrawLine();
|
||||
reader.printString(ConsoleReader.RESET_LINE + "");
|
||||
reader.flushConsole();
|
||||
super.flush();
|
||||
reader.drawLine();
|
||||
reader.flushConsole();
|
||||
} catch (IOException ex) {
|
||||
Logger.getLogger(TerminalConsoleHandler.class.getName()).log(Level.SEVERE, null, ex);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue