From ba0c32e8d84925f88a8af540ce08b2dccbb52c25 Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Fri, 27 Nov 2009 15:07:05 +0000 Subject: Allow formatting the mouse position when rendering an event to a string --- termkey.h.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'termkey.h.in') 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 + + TERMKEY_FORMAT_MOUSE_POS = 1 << 8, // Include mouse position if relevant; @ col,line } TermKeyFormat; // Some useful combinations -- cgit v1.2.3