Added ">" to input command line, separated it from output buffer properly

This commit is contained in:
Dinnerbone
2011-02-25 19:01:14 +00:00
parent 2419e0b8a7
commit 685d4dbb3f
2 changed files with 7 additions and 6 deletions

View File

@@ -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);
}
}
}