Macro colorify::printc
[−]
[src]
macro_rules! printc { ($c:ident ) => { ... }; ($c:ident: ) => { ... }; ($c:ident: $fmt:expr) => { ... }; ($c:ident: $fmt:expr, $($arg:tt)*) => { ... }; }
print!
with all the glorious colors of the the ANSI rainbow.
Watch out for the leprechaun at the end of that rainbow. Seriously.
Usage
printc!(yellow: "Number of banana peels on head: {}", hat_height);
See colorify!
docs
for a current list of colors.