halfdelay


Description:

public int halfdelay (int tenths)

Used for half-delay mode, which is similar to cbreak mode in that characters typed by the user are immediately available to the program.

However, after blocking for tenths tenths of seconds, an exception is raised if nothing has been typed. The value of tenths must be a number between 1 and 255. Use Curses.nocbreak to leave half-delay mode.


Namespace: Curses
Package: curses