diff options
author | John Hawthorn <john.hawthorn@gmail.com> | 2014-09-16 18:41:49 -0700 |
---|---|---|
committer | John Hawthorn <john.hawthorn@gmail.com> | 2014-09-16 18:42:06 -0700 |
commit | 4e5bca0b15ae58757d1d294b1ae8dbd9cce67ccc (patch) | |
tree | 49fb51eedd82d2ca9376c4e9caeee4a4a7c31bd2 | |
parent | fa10f722cd285c9be0c67744d67406df1662084e (diff) |
Add config.h
-rw-r--r-- | config.h | 1 | ||||
-rw-r--r-- | fzy.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/config.h b/config.h new file mode 100644 index 0000000..7b56ce9 --- /dev/null +++ b/config.h @@ -0,0 +1 @@ +#define TTY_COLOR_HIGHLIGHT TTY_COLOR_YELLOW @@ -9,6 +9,8 @@ #include "tty.h" #include "choices.h" +#include "config.h" + int flag_show_scores = 0; size_t num_lines = 10; @@ -45,8 +47,6 @@ void clear(tty_t *tty){ tty_flush(tty); } -#define TTY_COLOR_HIGHLIGHT TTY_COLOR_YELLOW - void draw_match(tty_t *tty, const char *choice, int selected){ int n = strlen(search); size_t positions[n + 1]; |