Function surf_n_term::encoder::color_sgr_encode [−][src]
pub fn color_sgr_encode<C: Color, W: Write>(
out: W,
color: C,
depth: ColorDepth,
foreground: bool
) -> Result<(), Error>
Encode color as SGR sequence
pub fn color_sgr_encode<C: Color, W: Write>(
out: W,
color: C,
depth: ColorDepth,
foreground: bool
) -> Result<(), Error>
Encode color as SGR sequence