nodelay(3) — Subroutines
NAME
nodelay − Disables a block during a read
SYNOPSIS
#include <curses.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.