#text-formatting #terminal #terminal-colors #color #style #windows #back

costottorama

simple crate to allow coloured text and formatting in terminal (for windows)

1 unstable release

0.1.0 Dec 19, 2022

#801 in Command-line interface

22 downloads per month

MIT license

4KB

simple crate to allow coloured text and formatting in terminal (for windows)

Example

use costottorama::{text, back, style}
println!(
    "{}{}{}please {}{}colour this text{} and not this", 
    style::BOLD,
    text::LIGHT_RED,
    back::LIGHT_BLACK,
    style::RESET_BOLD,
    back::RESET,
    style::RESET_ALL
)

No runtime deps