diff options
Diffstat (limited to 'src/ui/color.c')
-rwxr-xr-x | src/ui/color.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ui/color.c b/src/ui/color.c new file mode 100755 index 0000000..e834193 --- /dev/null +++ b/src/ui/color.c @@ -0,0 +1,10 @@ +#include <ncurses.h> + +#include "color.h" + +void set_colors(void) { + /* fg color, bg color */ + init_pair(STATUS_MAIN, COLOR_DIM_WHITE, COLOR_GREY); + init_pair(STATUS_ERROR, COLOR_DIM_WHITE, COLOR_DIM_RED); + init_pair(STATUS_PROMPT, COLOR_GREY, COLOR_DIM_WHITE); +} |