Allow formatting the mouse position when rendering an event to a string

This commit is contained in:
Paul LeoNerd Evans
2009-11-27 15:07:05 +00:00
parent 571e5b701f
commit ba0c32e8d8
4 changed files with 18 additions and 2 deletions

View File

@@ -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