ransidsole

ANSI colour and styling for terminal text.


Keywords
ansi, terminal, commandline, colour
License
Other

Documentation

ransid

Rust library providing ansi colour and style for the terminal.

Usage

Run the example:

cargo build --release
./target/release/ransid-example

Use the library:

let s = "I am black on green.".black().bg_green().underline();
println!("{}", s);

Or

let style = new_style().gray().bg_blue().bold().blink_slow();
println!(style.render("I am white on blue."));

License

BSD 3-Clause: LICENSE.txt

LICENSE