Function term_basics_linux::set_colours
source · Expand description
Sets both foreground and background colours. It will print linux colour escape characters to std out. It will set the state.
Example
use term_basics_linux as tbl;
for fg in tbl::UC::iterator(){
for bg in tbl::UC::iterator(){
tbl::set_colours(fg.clone(), bg.clone());
println!("haha yes");
}
}