1TERMKEY_SET_WAITTIME(3) Library Functions Manual TERMKEY_SET_WAITTIME(3)
2
3
4
6 termkey_set_waittime, termkey_get_waittime - control the wait time for
7 multibyte sequences
8
10 #include <termkey.h>
11
12 void termkey_set_waittime(TermKey *tk, int msec);
13 int termkey_get_waittime(TermKey *tk);
14
15 Link with -ltermkey.
16
18 termkey_set_waittime() sets the number of miliseconds that
19 termkey_waitkey(3) will wait for the remaining bytes of a multibyte
20 sequence if it detects the start of a partially-complete one.
21
22 termkey_get_waittime() returns the value set by the last call to
23 termkey_set_waittime(), or the default value if a different has not
24 been set.
25
27 termkey_set_waittime() returns no value. termkey_get_waittime() returns
28 the current wait time in miliseconds.
29
31 termkey_getkey(3), termkey_waitkey(3), termkey(7)
32
33
34
35 TERMKEY_SET_WAITTIME(3)