[go: up one dir, main page]

color-print 0.3.7

Colorize and stylize strings for terminal at compile-time, by using an HTML-like syntax
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
mod color;
mod style;

pub use color::*;
pub use style::*;

use lazy_static::lazy_static;
use terminfo_crate::Database;

lazy_static! {
    /// The terminfo database.
    static ref TERMINFO: Option<Database> = Database::from_env().ok();
}