diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2011-04-01 00:50:51 +0100 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2011-04-01 00:50:51 +0100 |
commit | 6424282c4ddb129d6987a0f8c03f3d23132b842c (patch) | |
tree | 0894cf3486e781511e1fed73dad37db215bf16cd /termkey.h.in | |
parent | ee69b33c496fffab14f5783552b0316cdcdef543 (diff) | |
download | termo-6424282c4ddb129d6987a0f8c03f3d23132b842c.tar.gz termo-6424282c4ddb129d6987a0f8c03f3d23132b842c.tar.xz termo-6424282c4ddb129d6987a0f8c03f3d23132b842c.zip |
Partial implementation of termkey_strpkey(3); missing FORMAT_WRAPBRACKET and TYPE_FUNCTION support
Diffstat (limited to 'termkey.h.in')
-rw-r--r-- | termkey.h.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/termkey.h.in b/termkey.h.in index 5405036..3c0665f 100644 --- a/termkey.h.in +++ b/termkey.h.in @@ -189,7 +189,8 @@ typedef enum { #define TERMKEY_FORMAT_VIM (TERMKEY_FORMAT_ALTISMETA|TERMKEY_FORMAT_WRAPBRACKET) -size_t termkey_strfkey(TermKey *tk, char *buffer, size_t len, TermKeyKey *key, TermKeyFormat format); +size_t termkey_strfkey(TermKey *tk, char *buffer, size_t len, TermKeyKey *key, TermKeyFormat format); +TermKeyResult termkey_strpkey(TermKey *tk, const char *str, TermKeyKey *key, TermKeyFormat format); // Old name for termkey_strfkey() size_t termkey_snprint_key(TermKey *tk, char *buffer, size_t len, TermKeyKey *key, TermKeyFormat format); |