Controls input character delay mode.
Curses Library (libcurses.a)
#include <curses.h>
int halfdelay(int tenths);
The halfdelay subroutine sets the input mode for the current window to Half-Delay Mode and specifies tenths of seconds as the half-delay interval. The tenths argument must be in a range from 1 up to and including 255.
Item | Description |
---|---|
x | Instructs wgetch to wait x tenths of a second for input before timing out. |
Item | Description |
---|---|
tenths |
Upon successful completion, the halfdelay subroutine returns OK. Otherwise, it returns ERR.