Clear the input buffer