r256

Crates.ior256
lib.rsr256
version0.1.1
sourcesrc
created_at2021-10-08 13:49:43.765072
updated_at2021-10-08 14:27:41.732054
descriptionSimple cross-platform color 256 library with text styles for Rust.
homepagehttps://gitlab.com/modeminal/libraries/r256
repositoryhttps://gitlab.com/modeminal/libraries/r256
max_upload_size
id462336
size7,165
0x707 (aiocat)

documentation

README

r256

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

Links

Example Code

use r256;

fn main() {
    r256::init();
    
    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:

  • Make sure you add the comments for your codes.
  • Please do not something useless.

Authors

License

This project is distributed under MIT license.

Project status

Under development.

Commit count: 7

cargo fmt