Hi guys, got a bit of a problem here with the console :S

Basically I have a few threads running at the same time, one of them is continuously getting input (std::cin.getline(), and the others are printing realtime data retreived via winsock.

My problem is that if you are halfway through typing a message, and another thread prints to the console, it all gets jumbled.
Picture here: http://www.aurj64.dsl.pipex.com/MessedUpConsole.jpg

Causing the output threads to wait until input has been received to print, is not an option.

Any suggestions would be appreciated