Well I passed it anything and it still has yet to make anything blue.
#include "curses.h"
void main()
{
WINDOW * win = initscr();
start_color();
resize_term(25, 80);
curs_set(2);
noecho();
color_set(COLOR_BLUE, win);
wborder(win, 0, 0, 0, 0, 0, 0, 0, 0);
}
Also here is the code for color_set...
int wcolor_set(WINDOW *win, short color_pair, void *opts)
{
PDC_LOG(("wcolor_set() - called\n"));
if (!win)
return ERR;
win->_attrs = (win->_attrs & ~A_COLOR) | COLOR_PAIR(color_pair);
return OK;
}
int color_set(short color_pair, void *opts)
{
PDC_LOG(("color_set() - called\n"));
return wcolor_set(stdscr, color_pair, opts);
}