diff --git a/src/ru/dmitriymx/shell/ShellConsoleHandler.java b/src/ru/dmitriymx/shell/ShellConsoleHandler.java deleted file mode 100644 index 29ff7e9..0000000 --- a/src/ru/dmitriymx/shell/ShellConsoleHandler.java +++ /dev/null @@ -1,27 +0,0 @@ -package ru.dmitriymx.shell; - -import jline.console.ConsoleReader; - -import java.io.IOException; -import java.util.logging.ConsoleHandler; - -public class ShellConsoleHandler extends ConsoleHandler { - private Shell shell; - - public ShellConsoleHandler(Shell shell) { - super(); - this.shell = shell; - } - - @Override - public synchronized void flush() { - try { - shell.cReader.print(ConsoleReader.RESET_LINE + ""); - shell.cReader.flush(); - super.flush(); - } catch (IOException e) { - e.printStackTrace(); - super.flush(); - } - } -} \ No newline at end of file