lorenzop - 2012-07-06

here's my source code:

reader.printString(ConsoleReader.RESET_LINE+"");
reader.printString(logRecord.toString(strip));
reader.printNewline();
reader.drawLine();
//reader.redrawLine();
reader.flushConsole();

I've been trying drawLine and redrawLine in different combinations of code, but I haven't been able to find the problem. is this a known bug in jline? when another thread is printing to the console, it works fine displaying the prompt and buffer contents, but when I enter a command, when it prints the prompt again it shows 2 like this >> instead of >. the only way around this I've found is to use a blank prompt. I've tried it with and without a prompt argument for readLine() and setDefaultPrompt() and I'm not doing anything that would display a new prompt when a command is processed except for readLine() itself.