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

costottorama

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

1 unstable release

0.1.0 Dec 19, 2022

#810 in Command-line interface

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