summaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2013-09-21 01:38:00 +0200
committerDaniel Carl <danielcarl@gmx.de>2013-09-21 15:56:16 +0200
commite5abd5d4be60c95beefba5ebeb2054a8dd03b7c8 (patch)
tree91056399f3e389c42f781341e2449a044a1ffe4c /src/main.h
parent46f8678f4600ca7c1566f483cbee143ed6294772 (diff)
Allow to bind also function keys.
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index 153f7e1..a924aab 100644
--- a/src/main.h
+++ b/src/main.h
@@ -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(...) { \