[][src]Function term_basics_linux::use_colours

pub fn use_colours(fg: UserColour, bg: UserColour)

Sets both foreground and background colours. It will print linux colour escape characters to std out. It will not set the state.

Example

use term_basics_linux as tbl;
for fg in tbl::UserColour::iterator(){
    for bg in tbl::UserColour::iterator(){
        tbl::use_colours(fg.clone(), bg.clone());
        println!("haha yes");
    }
}