diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2012-01-18 10:04:15 +0000 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2012-01-18 10:04:15 +0000 |
commit | 9534330003bdfdbc6ac47ad08fdf15636e0d9518 (patch) | |
tree | b4e251fccfd2cc20d591983b31f0c5c9d030bc42 /termkey.h.in | |
parent | 37d8f18ab5ec138c79ec3b0fbbf8277826992a33 (diff) | |
download | termo-9534330003bdfdbc6ac47ad08fdf15636e0d9518.tar.gz termo-9534330003bdfdbc6ac47ad08fdf15636e0d9518.tar.xz termo-9534330003bdfdbc6ac47ad08fdf15636e0d9518.zip |
Provide new API function to determine how much buffer space remains in the instance
Diffstat (limited to 'termkey.h.in')
-rw-r--r-- | termkey.h.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/termkey.h.in b/termkey.h.in index 7dd50b2..0349fe7 100644 --- a/termkey.h.in +++ b/termkey.h.in @@ -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); |