Function libnotcurses_sys::ncpalette_use[][src]

pub unsafe extern "C" fn ncpalette_use(
    nc: *mut notcurses,
    p: *const ncpalette
) -> c_int
Expand description

Attempt to configure the terminal with the provided palette ‘p’. Does not transfer ownership of ‘p’; ncpalette_free() can (ought) still be called.