notcurses_default_background

Function notcurses_default_background 

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

Get the default background color, if it is known. Returns -1 on error (unknown background). On success, returns 0, writing the RGB value to ‘bg’ (if non-NULL) and setting ‘bgtrans’ high iff the background color is treated as transparent.