[−][src]Function term_basics_linux::use_style
pub fn use_style(sty: TextStyle)
Sets the style of the text printed after this call. It will print linux colour escape characters to std out. It will not set the state so you can not restore it.
Example
use term_basics_linux as tbl; for i in tbl::TextStyle::iterator(){ tbl::use_style(i.clone()); println!("haha yes"); }