Keyboard input ?

This is a discussion on Keyboard input ? within the Game Programming forums, part of the General Programming Boards category; Prolly not a difficult question, but I'm making a text/ASCII graphic game and there are times where I need to ...

Keyboard input ?

Prolly not a difficult question, but I'm making a text/ASCII graphic game and there are times where I need to "Cancel input" from the keyboard to allow the user to watch something happen. Where if you hit enter 3 times during it and enter takes you out of the screen at the end you are taken out because I use the getch() command to input. Is there any way to temporarily cease input from the keyboard if using the getch() command? Thanks guys.

stopping input

I was wondering the same thing myself sort of. I need a way to stop all input... Nothing is to get through to the keyboard input buffer thing... And i dont wanna use getchar to stop all but enter... isnt there some ignore_input thing out there... and don't even try that fflush(stdin); thing, that doesnt apply here.