extern crate terminal_escapes; use terminal_escapes::{ Sequence::*, Attribute::*, Color }; fn main() { println!( "{}Hello {}World!{}", SetAttributes(&[Foreground(Color::Red)]), SetAttributes(&[Foreground(Color::Blue), Bright]), SetAttributes(&[Default]), ); }