Provide new API function to determine how much buffer space remains in the instance

This commit is contained in:
Paul LeoNerd Evans
2012-01-18 10:04:15 +00:00
parent 37d8f18ab5
commit 9534330003
5 changed files with 56 additions and 2 deletions

View File

@@ -171,6 +171,8 @@ void termkey_set_waittime(TermKey *tk, int msec);
int termkey_get_canonflags(TermKey *tk);
void termkey_set_canonflags(TermKey *tk, int);
size_t termkey_get_buffer_remaining(TermKey *tk);
void termkey_canonicalise(TermKey *tk, TermKeyKey *key);
TermKeyResult termkey_getkey(TermKey *tk, TermKeyKey *key);