char *title = 0;
int error_flash = 0;
-#define COLOR_MODELINE 1
-#define COLOR_FOCUS_LINE 2
-#define COLOR_ERROR 3
-
int attr_modeline, attr_focus_line, attr_error;
//////////////////////////////////////////////////////////////////////
exit(1);
}
- init_pair(COLOR_MODELINE, color_fg_modeline, color_bg_modeline);
- init_pair(COLOR_FOCUS_LINE, color_fg_highlight, color_bg_highlight);
- init_pair(COLOR_ERROR, COLOR_WHITE, COLOR_RED);
+ init_pair(1, color_fg_modeline, color_bg_modeline);
+ attr_modeline = COLOR_PAIR(1);
+
+ init_pair(2, color_fg_highlight, color_bg_highlight);
+ attr_focus_line = COLOR_PAIR(2);
- attr_modeline = COLOR_PAIR(COLOR_MODELINE);
- attr_focus_line = COLOR_PAIR(COLOR_FOCUS_LINE);
- attr_error = COLOR_PAIR(COLOR_ERROR);
+ init_pair(3, COLOR_WHITE, COLOR_RED);
+ attr_error = COLOR_PAIR(3);
}