diff options
author | Daniel Carl <danielcarl@gmx.de> | 2013-09-21 01:38:00 +0200 |
---|---|---|
committer | Daniel Carl <danielcarl@gmx.de> | 2013-09-21 15:56:16 +0200 |
commit | e5abd5d4be60c95beefba5ebeb2054a8dd03b7c8 (patch) | |
tree | 91056399f3e389c42f781341e2449a044a1ffe4c /src/main.h | |
parent | 46f8678f4600ca7c1566f483cbee143ed6294772 (diff) |
Allow to bind also function keys.
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -41,12 +41,13 @@ /* this macro converts a non-'g' ascii command into a 'g' command by setting * the 8th bit for the char */ -/* TODO maybe these macros are only used in keybind.c or mode.c */ #define G_CMD(x) ((x) | 0x80) #define UNG_CMD(x) ((x) & ~0x80) #define CTRL(x) ((x) ^ 0x40) /* check if the char x is a char with CTRL like ^C */ #define IS_CTRL(x) (((unsigned char)x) <= 32) +#define CSI 0x9b /* Control Sequence Introducer */ +#define CSI_STR "\233" #ifdef DEBUG #define PRINT_DEBUG(...) { \ |