aboutsummaryrefslogtreecommitdiff
path: root/termkey.h
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-08-21 20:20:07 +0100
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-08-21 20:20:07 +0100
commita06d010504df8b0a77323bf0ffef9ca6bb7ae6b5 (patch)
treedadecf314926ece6f45601b4081b47f0ddd8c695 /termkey.h
parent95e87a86d50b0cf1f2c1292ff4cd4ff307ca791f (diff)
downloadtermo-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/termkey.h b/termkey.h
index a0d26cf..5c50014 100644
--- a/termkey.h
+++ b/termkey.h
@@ -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