Hi, I am new to the forum but a friend of mine showed me a question he asked on here and he got quite a good response so I figured I would take a stab at asking one myself.
I am currently working on an assignment where I have a thread which contains a loop of console.writeline menus. So it goes through 5 different variations of the same menu creating the illusion that the object is moving around the screen. At the same time it is awaiting user input, so pressing H for example loads another part of the program in place of the menu, but what I am finding is if I press H and don't press Enter quick enough it refreshes to the next menu in the loop and I have to hurry and do it again. It would be much simpler to be able to press H and not press Enter and then the program would be friendlier to use and I wouldn't have to find another way to keep the images looping in the thread and react when a button is pressed at the same time.
A way to make it read what key is typed and react immediately without pressing Enter would be very very useful, if not then a way to make the thread loop like I want it to but also allow me to type underneath as much as I want to without going to the next menu and losing everything I've typed.
Thank you!