diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-08-21 20:20:07 +0100 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-08-21 20:20:07 +0100 |
commit | a06d010504df8b0a77323bf0ffef9ca6bb7ae6b5 (patch) | |
tree | dadecf314926ece6f45601b4081b47f0ddd8c695 /termkey.h | |
parent | 95e87a86d50b0cf1f2c1292ff4cd4ff307ca791f (diff) | |
download | termo-a06d010504df8b0a77323bf0ffef9ca6bb7ae6b5.tar.gz termo-a06d010504df8b0a77323bf0ffef9ca6bb7ae6b5.tar.xz termo-a06d010504df8b0a77323bf0ffef9ca6bb7ae6b5.zip |
Added termkey_snprint_key() to render nice string outputs of key events
Diffstat (limited to 'termkey.h')
-rw-r--r-- | termkey.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -132,4 +132,6 @@ termkey_keysym termkey_register_csi_ss3_full(termkey_t *tk, termkey_type type, t termkey_keysym termkey_register_ss3kpalt_full(termkey_t *tk, termkey_type type, termkey_keysym sym, int modifier_set, int modifier_mask, unsigned char cmd, const char *name, char kpalt); termkey_keysym termkey_register_csifunc_full(termkey_t *tk, termkey_type type, termkey_keysym sym, int modifier_set, int modifier_mask, int number, const char *name); +size_t termkey_snprint_key(termkey_t *tk, char *buffer, size_t len, termkey_key *key, int longmod); + #endif |