aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/common.h b/common.h
index b82776b..fa181d8 100644
--- a/common.h
+++ b/common.h
@@ -30,10 +30,13 @@
#define COMMON_H
#include <stdbool.h>
-static const char *types[11] = { "di", "ln", "so", "pi", "ex", "bd", "cd", "su",
- "sg", "tw", "ow" };
-static const char col[8] = "abcdefgh";
-char *tolscolors(char *);
-char numtocol(char, bool);
+#define MAXKEYLEN 21
+
+struct color {
+ char fg;
+ char bg;
+};
+
+struct color *parseansi(char *, struct color*);
#endif