I'm trying to change the colour of the background and font using C in Linux. I was using ncurses to do this, but if there's an easier way (perhaps using vagal??) I'm interested...
I had something like this:
init_pair(COLORPAIRS-1, COLOR_GREY, COLOR_GREEN);
I know this alone won't do it.. I think I need to use wattrset, but I'm not sure of it's arguments (set to specified window?!). Also, what's the first argument of init_pair for? (couldn't follow the man page..) Am I on the right track with this? Do I need to use printw instead of printf now for everything?
Also, is it possible to change font size from here?