aboutsummaryrefslogtreecommitdiff
path: root/termkey.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'termkey.h.in')
-rw-r--r--termkey.h.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/termkey.h.in b/termkey.h.in
index 6c91b09..bd5187c 100644
--- a/termkey.h.in
+++ b/termkey.h.in
@@ -95,7 +95,8 @@ typedef enum {
TERMKEY_TYPE_UNICODE,
TERMKEY_TYPE_FUNCTION,
TERMKEY_TYPE_KEYSYM,
- TERMKEY_TYPE_MOUSE
+ TERMKEY_TYPE_MOUSE,
+ TERMKEY_TYPE_POSITION
} TermKeyType;
typedef enum {
@@ -199,6 +200,8 @@ TermKeySym termkey_keyname2sym(TermKey *tk, const char *keyname);
TermKeyResult termkey_interpret_mouse(TermKey *tk, const TermKeyKey *key, TermKeyMouseEvent *event, int *button, int *line, int *col);
+TermKeyResult termkey_interpret_position(TermKey *tk, const TermKeyKey *key, int *line, int *col);
+
typedef enum {
TERMKEY_FORMAT_LONGMOD = 1 << 0, /* Shift-... instead of S-... */
TERMKEY_FORMAT_CARETCTRL = 1 << 1, /* ^X instead of C-X */