aboutsummaryrefslogtreecommitdiff
path: root/termkey.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'termkey.h.in')
-rw-r--r--termkey.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/termkey.h.in b/termkey.h.in
index 95e8aed..cbf895d 100644
--- a/termkey.h.in
+++ b/termkey.h.in
@@ -156,6 +156,8 @@ termkey_result termkey_advisereadable(termkey_t *tk);
termkey_keysym termkey_register_keyname(termkey_t *tk, termkey_keysym sym, const char *name);
const char *termkey_get_keyname(termkey_t *tk, termkey_keysym sym);
+termkey_keysym termkey_keyname2sym(termkey_t *tk, const char *keyname);
+
typedef enum {
TERMKEY_FORMAT_LONGMOD = 1 << 0, // Shift-... instead of S-...
TERMKEY_FORMAT_CARETCTRL = 1 << 1, // ^X instead of C-X