aboutsummaryrefslogtreecommitdiff
path: root/termkey.h
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-02-10 17:46:48 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-02-10 17:46:48 +0000
commit98840316257bc66a35a6c1db27697763fbf73a46 (patch)
tree6eb2e30b378275f7a936e17f6aac0f5dbbb6058d /termkey.h
parentdc9672603ad197e7d80beaed6b6c7834c393ab3d (diff)
downloadtermo-98840316257bc66a35a6c1db27697763fbf73a46.tar.gz
termo-98840316257bc66a35a6c1db27697763fbf73a46.tar.xz
termo-98840316257bc66a35a6c1db27697763fbf73a46.zip
Allow C0 codes to be registered names like the CSI/SS3s
Diffstat (limited to 'termkey.h')
-rw-r--r--termkey.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/termkey.h b/termkey.h
index 9101d09..7612e18 100644
--- a/termkey.h
+++ b/termkey.h
@@ -119,6 +119,7 @@ void termkey_advisereadable(termkey_t *tk);
// Registration of keys and names
termkey_keysym termkey_register_keyname(termkey_t *tk, termkey_keysym code, const char *name);
+termkey_keysym termkey_register_c0(termkey_t *tk, termkey_keysym code, unsigned char ctrl, const char *name);
termkey_keysym termkey_register_csi_ss3(termkey_t *tk, termkey_keysym code, unsigned char cmd, const char *name);
termkey_keysym termkey_register_ss3kpalt(termkey_t *tk, termkey_keysym code, unsigned char cmd, const char *name, char kpalt);
termkey_keysym termkey_register_csifunc(termkey_t *tk, termkey_keysym code, int number, const char *name);