aboutsummaryrefslogtreecommitdiff
path: root/termkey.h
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-10-06 22:22:09 +0100
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-10-06 22:22:09 +0100
commit5b24e42d90a57479c702b0e6b53271dd5188db70 (patch)
tree1256f67d246b48e50227a9409b2b56900771011a /termkey.h
parentf54687c5837cacfa440a44c8549a1de0b3dd56ff (diff)
downloadtermo-5b24e42d90a57479c702b0e6b53271dd5188db70.tar.gz
termo-5b24e42d90a57479c702b0e6b53271dd5188db70.tar.xz
termo-5b24e42d90a57479c702b0e6b53271dd5188db70.zip
Added two more formatting options; CARETCTRL and ALTISMETA
Diffstat (limited to 'termkey.h')
-rw-r--r--termkey.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/termkey.h b/termkey.h
index 04b0aa9..51003bd 100644
--- a/termkey.h
+++ b/termkey.h
@@ -133,7 +133,9 @@ termkey_keysym termkey_register_ss3kpalt_full(termkey_t *tk, termkey_type type,
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);
typedef enum {
- TERMKEY_FORMAT_LONGMOD = 1
+ TERMKEY_FORMAT_LONGMOD = 1,
+ TERMKEY_FORMAT_CARETCTRL = 2,
+ TERMKEY_FORMAT_ALTISMETA = 4,
} termkey_format;
size_t termkey_snprint_key(termkey_t *tk, char *buffer, size_t len, termkey_key *key, termkey_format format);