nodelay(3cur)
Name
nodelay − disable block during read
Syntax
#include <cursesX.h>
int nodelay(win, bf)
WINDOW ∗win;
bool bf;
Description
This option causes the getch routine to be a non-blocking call. If no input is ready, and nodelay is enabled, getch will return the integer ERR. If nodelay is disabled, getch will wait until input is ready.
Return Values
The nodelay function returns OK on success and ERR on error.