Function libnotcurses_sys::c_api::ncchannels_set_fg_rgb
source · [−]pub fn ncchannels_set_fg_rgb(
channels: &mut NcChannels_u64,
rgb: impl Into<NcRgb_u32>
)
Expand description
Sets the foreground NcRgb_u32
of an NcChannels_u64
, and marks it as
NOT using the “default color”, retaining the other bits unchanged.
Method: NcChannels.set_fg_rgb()