aboutsummaryrefslogtreecommitdiff
path: root/termkey_waitkey.3.sh
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-11-06 20:29:50 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-11-06 20:29:50 +0000
commit9cd46fcea30691cd5ab73a43498534bf93b8ca39 (patch)
treec45109fc1ec076c67d7a0dcbfb26b5df9582992e /termkey_waitkey.3.sh
parent023943c7389cd1ece50bb92bb8bd1af42b62c580 (diff)
downloadtermo-9cd46fcea30691cd5ab73a43498534bf93b8ca39.tar.gz
termo-9cd46fcea30691cd5ab73a43498534bf93b8ca39.tar.xz
termo-9cd46fcea30691cd5ab73a43498534bf93b8ca39.zip
Renamed termkey_{set,get}waittime() to termkey_{set,get}_waittime() to be more consistent
Diffstat (limited to 'termkey_waitkey.3.sh')
-rw-r--r--termkey_waitkey.3.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/termkey_waitkey.3.sh b/termkey_waitkey.3.sh
index c14bbd7..5d66f94 100644
--- a/termkey_waitkey.3.sh
+++ b/termkey_waitkey.3.sh
@@ -16,7 +16,7 @@ Link with \fI-ltermkey\fP.
.PP
For details of the \fBtermkey_key\fP structure, see \fBtermkey_getkey\fP(3).
.PP
-Some keypresses generate multiple bytes from the terminal. Because there may be network or other delays between the terminal and an application using termkey, \fBtermkey_waitkey\fP() will attempt to wait for the remaining bytes to arrive if it detects the start of a multibyte sequence. If no more bytes arrive within a certain time, then the bytes will be reported as they stand, even if this results in interpreting a partially-complete Escape sequence as a literal Escape key followed by some normal letters or other symbols. The amount of time to wait can be set by \fBtermkey_setwaittime\fP(3).
+Some keypresses generate multiple bytes from the terminal. Because there may be network or other delays between the terminal and an application using termkey, \fBtermkey_waitkey\fP() will attempt to wait for the remaining bytes to arrive if it detects the start of a multibyte sequence. If no more bytes arrive within a certain time, then the bytes will be reported as they stand, even if this results in interpreting a partially-complete Escape sequence as a literal Escape key followed by some normal letters or other symbols. The amount of time to wait can be set by \fBtermkey_set_waittime\fP(3).
.SH "RETURN VALUE"
\fBtermkey_waitkey\fP() returns one of the following constants:
.TP
@@ -36,7 +36,7 @@ The following example program prints details of every keypress until the user pr
.SH "SEE ALSO"
.BR termkey_new (3),
.BR termkey_getkey (3),
-.BR termkey_setwaittime (3),
+.BR termkey_set_waittime (3),
.BR termkey_get_keyname (3),
.BR termkey_snprint_key (3)
EOF