ncurses_flushinp()
ncurses_flushinp - Flush keyboard input buffer
Syntax
bool ncurses_flushinp ()
Arguments
-
Description
Throws away any typeahead that has been typed and has not yet been read by your program.
Version
PHP 4.0.7, 5 < 5.3.0, PECL ncurses >= 1.0.0
Return value
Returns FALSE on success, otherwise TRUE.