aboutsummaryrefslogtreecommitdiff
path: root/man/termkey_waitkey.3.sh
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-01-21 23:26:47 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-01-21 23:26:47 +0000
commit948e48d56a4449aa1a50d60cbd1c4e74c0e6135d (patch)
tree43ecd8760a928517823c6fbe553e5f7a11cb018d /man/termkey_waitkey.3.sh
parentcfb0480c1a84ca8dff490d5ce5867e87b1d01fc1 (diff)
downloadtermo-948e48d56a4449aa1a50d60cbd1c4e74c0e6135d.tar.gz
termo-948e48d56a4449aa1a50d60cbd1c4e74c0e6135d.tar.xz
termo-948e48d56a4449aa1a50d60cbd1c4e74c0e6135d.zip
Various other minor fixes to manpages
Diffstat (limited to 'man/termkey_waitkey.3.sh')
-rw-r--r--man/termkey_waitkey.3.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/termkey_waitkey.3.sh b/man/termkey_waitkey.3.sh
index ff6ea38..8e59e24 100644
--- a/man/termkey_waitkey.3.sh
+++ b/man/termkey_waitkey.3.sh
@@ -12,7 +12,7 @@ termkey_waitkey \- wait for and retrieve the next key event
.sp
Link with \fI-ltermkey\fP.
.SH DESCRIPTION
-\fBtermkey_waitkey\fP(3) attempts to retrieve a single keypress event from the \fBtermkey\fP(7) instance buffer, and put it in the structure referred to by \fIkey\fP. If successful it will return \fBTERMKEY_RES_KEY\fP to indicate that the structure now contains a new keypress event. If nothing is in the buffer it will block until one is available. If no events are ready and the input stream is now closed, will return \fBTERMKEY_RES_EOF\fP. If no filehandle is associated with this instance, \fBTERMKEY_RES_ERROR\fP is returned with \fIerrno\fP set to \fBEBADF\fP.
+\fBtermkey_waitkey\fP() attempts to retrieve a single keypress event from the \fBtermkey\fP(7) instance buffer, and put it in the structure referred to by \fIkey\fP. If successful it will return \fBTERMKEY_RES_KEY\fP to indicate that the structure now contains a new keypress event. If nothing is in the buffer it will block until one is available. If no events are ready and the input stream is now closed, will return \fBTERMKEY_RES_EOF\fP. If no filehandle is associated with this instance, \fBTERMKEY_RES_ERROR\fP is returned with \fIerrno\fP set to \fBEBADF\fP.
.PP
Before returning, this function canonicalises the \fIkey\fP structure according to the rules given for \fBtermkey_canonicalise\fP(3).
.PP