| CURSES_DEFAULT_COLORS(3) | Library Functions Manual | CURSES_DEFAULT_COLORS(3) | 
curses_default_colors,
  assume_default_colors,
  use_default_colors —
#include <curses.h>
int
  
  assume_default_colors(short
    fore, short
  back);
int
  
  use_default_colors();
The function
    assume_default_colors(fore,
    back) sets the default colors to foreground color
    fore and background color back.
    If a value of -1 is used for a color, then the terminal default color is
    used for that color.
The function use_default_colors() sets
    both the foreground and background colors to the terminal default colors.
    This is equivalent to
    assume_default_colors(-1,
    -1).
| October 13, 2002 | NetBSD 9.4 |