I have a console app that I'm working on that outputs realtime event-related information using Console.WriteLine (on a separate thread). The app also allows the user to enter commands via Console.ReadLine(). When output occurs at the same time that the user is entering a command, the output gets intermixed with the input. As a result, I'm looking for a way to keep the bottom row of the console window reserved for input while setting the output to appear on the next to last row (and scroll up from there), thereby avoiding the intermixing.
Any advice on how to get this to work would be most appreciated.
Thanks!
No comments:
Post a Comment