I am implementing an Eclipse Plugin with an IOConsole receiving input from the keyboard and producing output (IOConsoleInputStream, IOConsoleOutputStream).
I am trying to put the caret always at the last character by extending the TextConsoleViewer as what suggested here
The problem is that, when it's time to change the caret position after a printed output, the outputted character, which written by another thread having a reference to the output stream, are not counted in the console characters count.