aboutsummaryrefslogtreecommitdiff
path: root/termkey.h.in
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2009-11-27 15:07:05 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2009-11-27 15:07:05 +0000
commitba0c32e8d84925f88a8af540ce08b2dccbb52c25 (patch)
treedca07f3d4e6364666313e3b9be5938af04fb9198 /termkey.h.in
parent571e5b701f4d45d7c0942206b78f4c3b3478d248 (diff)
downloadtermo-ba0c32e8d84925f88a8af540ce08b2dccbb52c25.tar.gz
termo-ba0c32e8d84925f88a8af540ce08b2dccbb52c25.tar.xz
termo-ba0c32e8d84925f88a8af540ce08b2dccbb52c25.zip
Allow formatting the mouse position when rendering an event to a string
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 9ed82c5..0adf112 100644
--- a/termkey.h.in
+++ b/termkey.h.in
@@ -174,6 +174,8 @@ typedef enum {
TERMKEY_FORMAT_CARETCTRL = 1 << 1, // ^X instead of C-X
TERMKEY_FORMAT_ALTISMETA = 1 << 2, // Meta- or M- instead of Alt- or A-
TERMKEY_FORMAT_WRAPBRACKET = 1 << 3, // Wrap special keys in brackets like <Escape>
+
+ TERMKEY_FORMAT_MOUSE_POS = 1 << 8, // Include mouse position if relevant; @ col,line
} TermKeyFormat;
// Some useful combinations