I am writing a server app and I want it to be console based. I need the user to be able to input different commands, but at the same time there is a possibility that somethi
If you need to allow output to arrive while the user is typing I recommend sending the output to a new window. So, you could have one window that is used to start the application and then it spawns a thread to open a new console for input and then it continues to send any output messages to the original window. I think you will run in to too many resource locking issues if you try to keep everything in the same window.