notcurses_default_foreground

Function notcurses_default_foreground 

Source
pub unsafe extern "C" fn notcurses_default_foreground(
    nc: *const notcurses,
    fg: *mut u32,
) -> c_int
Expand description

Get the default foreground color, if it is known. Returns -1 on error (unknown foreground). On success, returns 0, writing the RGB value to ‘fg’ (if non-NULL)