Flush all input buffers. This throws away any typeahead that has been typed by the user and has not yet been processed by the program.