sgr_const!

Documentation

A macro to generate SGR control sequences for colored output in terminal applications.

toml [dependencies] sgr-const = "0.1"

Example

```rust sgrconst::sgrconst! { STYLECYAN = Bold | CyanFg; STYLENONE = Reset; }

println!("{}{}{}", STYLECYAN, "This text will be cyan if your terminal supports it!", STYLENONE); ```

License

This project is licensed under the Mozilla Public License, Version 2.0. See LICENSE for more information.