rust library that simplifies printing colorful text to the console with ANSI escape. It is based on ANSI Escape Code. Should work on Linux, macOS and Windows (from Windows 10 1511+)
``` use terminal_paint as tp;
let mystr: String = tp::paint("hello world!", tp::YELLOW); let mystr2: String = tp::paint("world hello", tp::ONRED); println!("{}, {}", mystr, my_str2);
// this will call println! and change the color of your text tp::color_println("this is blue text", tp::BLUE); ```
This crate is distributed under the MIT license. https://opensource.org/licenses/MIT