[][src]Function term_basics_linux::use_colour

pub fn use_colour(col: UserColour, fgbg: FGBG)

Sets the colour 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 use restore_colour to get this state back.


use term_basics_linux as tbl;
tbl::use_colour(tbl::UserColour::Blue, tbl::FGBG::FG);
tbl::println("henlo frens");