Function libnotcurses_sys::nccell_set_fg_palindex[][src]

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

Sets an NcCell’s foreground NcPaletteIndex.

Also sets NCALPHA_FG_PALETTE and NCALPHA_OPAQUE, and clears out NCALPHA_FGDEFAULT_MASK.

Method: NcCell.set_fg_palindex().