[][src]Function ansistr::background_str

pub fn background_str<S: Into<String>>(txt: S, bg: &TextBackground) -> String

Wraps text with ANSI background codes.