[−][src]Macro dinglebit_terminal::sgm
Create a SetGraphicsMode using the given vector.
Examples
let s = sgm!(vec![OP_BOLD, FG_BLACK, BG_WHITE]).to_string(); assert_eq!(s, "\x1b[1;30;47m");
Create a SetGraphicsMode using the given vector.
let s = sgm!(vec![OP_BOLD, FG_BLACK, BG_WHITE]).to_string(); assert_eq!(s, "\x1b[1;30;47m");