diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-11-06 00:56:01 +0000 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-11-06 00:56:01 +0000 |
commit | c2496a38be3f06df6557b12803a9162c31811cef (patch) | |
tree | 77a33165331f20ffdff1ccd243da121fb90b6f91 /termkey_getkey.3 | |
parent | 388782b89be0bf8144ae3dc2a590b466c96d3d6d (diff) | |
download | termo-c2496a38be3f06df6557b12803a9162c31811cef.tar.gz termo-c2496a38be3f06df6557b12803a9162c31811cef.tar.xz termo-c2496a38be3f06df6557b12803a9162c31811cef.zip |
Also document termkey_advisereadable()
Diffstat (limited to 'termkey_getkey.3')
-rw-r--r-- | termkey_getkey.3 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/termkey_getkey.3 b/termkey_getkey.3 index 064dda7..f77caa0 100644 --- a/termkey_getkey.3 +++ b/termkey_getkey.3 @@ -16,7 +16,7 @@ Link with \fI-ltermkey\fP. .PP \fBtermkey_getkey_force\fP is similar to \fBtermkey_getkey\fP but will not return \fBTERMKEY_RES_AGAIN\fP if a partial match is found. Instead, it will force an interpretation of the bytes, even if this means interpreting the start of an Escape-prefixed multi-byte sequence as a literal "Escape" key followed by normal letters. .PP -Neither of these functions will block or perform any IO operations on the underlying filehandle. For a blocking wait, see \fBtermkey_waitkey\fP. +Neither of these functions will block or perform any IO operations on the underlying filehandle. To use the instance in an asynchronous program, see \fBtermkey_advisereadable\fP(3). For a blocking call suitable for use in a synchronous program, use \fBtermkey_waitkey\fP(3) instead of \fBtermkey_getkey\fP(). .PP The \fItermkey_key\fP structure is defined as follows: .PP @@ -67,6 +67,7 @@ No key events are ready and the terminal has been closed, so no more will arrive No key event is ready yet, but a partial one has been found. This is only returned by \fBtermkey_getkey\fP(). To obtain the partial result even if it never completes, use \fBtermkey_getkey_force\fP(). .SH "SEE ALSO" .BR termkey_new (3), +.BR termkey_advisereadable (3), .BR termkey_waitkey (3), .BR termkey_setwaittime (3), .BR termkey_get_keyname (3), |