kbdlib

Keyboard input library for VT100-like text terminals. Recognizes solitary ESC key and decodes UTF-8 Unicode sequences (if getkey_utf8 is set).

again:
	c = getkey();
	if(c == kMORE) {
		sleep(1); // or less
		goto again;
	}

Download

Source: key-0.20.tar.gz ()

See also