RosettaCodeData/Task/Keyboard-input-Flush-the-keyboard-buffer/00DESCRIPTION
2016-12-05 22:15:40 +01:00

13 lines
369 B
Text

[[user input::task| ]]
{{omit from|ACL2}}
{{omit from|GUISS}}
{{omit from|PARI/GP}}
Flush the   [[input device::keyboard]]   buffer.
This reads characters from the keyboard input and
discards them until there are no more currently buffered,  
and then allows the program to continue.
''The program must not wait for users to type anything.''
<br><br>