Source

Rosetta Code / Keyboard input /

Filename Size Date modified Message
..
Flush the keyboard buffer
Keypress check
Obtain a Y or N response