Fill an ncurses window with a color
Please try bkgd, or wbkgd for specifying a window. First you have to enable color support with start_color(). And then define color pair. Example:init_pair(1,COLOR_BLUE, COLOR_RED) The order is pair_number, foreground, background Finally, set colors: wbkgd(WindowName, COLOR_PAIR(1)).