NAME
halfdelay — control input character delay mode
SYNOPSIS
#include <curses.h>
int halfdelay(int tenths);
DESCRIPTION
The
halfdelay()
function sets the input mode for the current window to Half-Delay Mode and
specifies tenths tenths of seconds as the half-delay interval. The
tenths argument must be in a range from 1 up to and including 255.
RETURN VALUE
Upon successful completion,
halfdelay()
returns OK. Otherwise, it returns ERR.
ERRORS
No errors are defined.
APPLICATION USAGE
The application can call
nocbreak()
to leave Half-Delay mode.
SEE ALSO
cbreak(3X),
curses_intro(3X),
see
Input Mode,
<curses.h>,
X/Open System Interface Definitions, Issue 4, Version 2
specification, Chapter 9,
General Terminal Interface.
CHANGE HISTORY
First released in X/Open Curses, Issue 4.