nodelay(3cur)
NAME
nodelay − disable block during read
SYNTAX
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.