public void init(Settings settings) {
this.settings = settings;
//setting up reader
try {
//AnsiConsole.systemInstall();
this.stdOut = new PrintStream( new WindowsAnsiOutputStream(settings.getStdOut()), true);
this.stdErr = new PrintStream( new WindowsAnsiOutputStream(settings.getStdErr()), true);
}
catch (Exception ioe) {
this.stdOut = new PrintStream( new AnsiOutputStream(settings.getStdOut()), true);
this.stdErr = new PrintStream( new AnsiOutputStream(settings.getStdErr()), true);