flushinp(3cur)flushinp(3cur)Nameflushinp - discard typeahead
Syntax
#include <cursesX.h>
int flushinp()Description
Any typeahead input that has not been read by the program is discarded.
Return Values
The function returns OK on success and ERR on error.
See Alsotypeahead(3cur)flushinp(3cur)