=== modified file 'termkey.c' --- termkey.c 2012-01-18 09:36:36 +0000 +++ termkey.c 2011-09-06 21:49:05 +0000 @@ -933,7 +933,7 @@ /* UNREACHABLE */ } -static void push_bytes(TermKey *tk, const unsigned char *input, size_t inputlen) +void termkey_pushinput(TermKey *tk, const unsigned char *input, size_t inputlen) { if(tk->buffstart + tk->buffcount + inputlen > tk->buffsize) { while(tk->buffstart + tk->buffcount + inputlen > tk->buffsize) @@ -970,7 +970,7 @@ return TERMKEY_RES_NONE; } else { - push_bytes(tk, buffer, len); + termkey_pushinput(tk, buffer, len); return TERMKEY_RES_AGAIN; } } === modified file 'termkey.h.in' --- termkey.h.in 2012-01-18 09:36:36 +0000 +++ termkey.h.in 2011-08-28 16:57:57 +0000 @@ -177,6 +177,8 @@ TermKeyResult termkey_getkey_force(TermKey *tk, TermKeyKey *key); TermKeyResult termkey_waitkey(TermKey *tk, TermKeyKey *key); +void termkey_pushinput(TermKey *tk, const unsigned char *input, size_t inputlen); + TermKeyResult termkey_advisereadable(TermKey *tk); TermKeySym termkey_register_keyname(TermKey *tk, TermKeySym sym, const char *name);