I have a script which when first run creates a new thread which logs certain events. After the thread has been created, I ask for some input on user with the following code:
user_input = raw_input('>> ')
So when the script it run the user receives the '>>' prompt, but when the logger from the created thread starts logging it starts to look like this:
>> Error: Some random error
Error: Another error
As you can see it messes-up and lost the prompt. What I wanna do is have the log messages appear but still maintain my cursor on the prompt ready for some input. like:
>>
Error: Some random error
Error: Another error
>>