r256

Simple cross-platform color 256 library with text styles for Rust.

Links

Example Code

```rust use r256;

fn main() { // For windows support: if cfg!(targetos = "windows") { r256::enablevirtualterminalprocessing(); }

for i in 0..256 {
  let mut color_combines: Vec<r256::Styles> = Vec::new();
  color_combines.push(r256::Styles::FgColor256(i as u8));
  color_combines.push(r256::Styles::Bold);

  r256::println(&color_combines, "r256.");
}

} ```

Found a Bug / Error?

If you found a bug or an error, please create a new issue at gitlab repository.

Contributing

If you want to contribute this project:

Authors

License

This project is distributed under MIT license.

Project status

Under development.