Function libnotcurses_sys::nccell_set_bg_palindex[][src]

pub fn nccell_set_bg_palindex(cell: &mut NcCell, index: NcPaletteIndex)
Expand description

Sets an NcCell’s background NcPaletteIndex.

Also sets NCALPHA_BG_PALETTE and NCALPHA_OPAQUE, and clears out NCALPHA_BGDEFAULT_MASK.

Method: NcCell.set_bg_palindex().