24 lines
909 B
Groff
24 lines
909 B
Groff
.TH TERMKEY_SETWAITTIME 3
|
|
.SH NAME
|
|
termkey_setwaittime, termkey_getwaittime \- control the wait time for multibyte sequences
|
|
.SH SYNOPSIS
|
|
.nf
|
|
.B #include <termkey.h>
|
|
.sp
|
|
.BI "void termkey_setwaittime(termkey_t *" tk ", int " msec );
|
|
.br
|
|
.BI "int termkey_getwaittime(termkey_t *" tk );
|
|
.fi
|
|
.sp
|
|
Link with \fI-ltermkey\fP.
|
|
.SH DESCRIPTION
|
|
\fBtermkey_setwaittime\fP sets the number of miliseconds that \fBtermkey_wait\fP(3) will wait for the remaining bytes of a multibyte sequence if it detects the start of a partially-complete one.
|
|
.PP
|
|
\fBtermkey_getwaittime\fP returns the value set by the last call to \fBtermkey_setwaittime\fP(), or the default value if a different has not been set.
|
|
.SH "RETURN VALUE"
|
|
\fBtermkey_setwaittime\fP() returns no value. \fBtermkey_getwaittime\fP() returns the current wait time in miliseconds.
|
|
.SH "SEE ALSO"
|
|
.BR termkey_new (3),
|
|
.BR termkey_getkey (3),
|
|
.BR termkey_waitkey (3)
|