Crate efcl

Source
Expand description

EFCL - Efficiency First Color Library

The most simple, small, and fast terminal color text library.

use efcl::{color, Color, bold};

fn main() {
    println!("Hello, {}!", color!(Color::BLUE, "world"));

    println!("{}!", bold!(&color!(Color::RED, "EFCL").to_string()));
}

Macros§

bold
Return a String that is bold
color
Return a String with a Color added to it

Enums§

Color
Color is an enum that represents the ANSI escape code for terminal colors