Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.
/ peter Public archive

๐ŸŒˆ ANSI terminal colours and styles for anything implementing `Display`

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

rossmacarthur/peter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

14 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

peter

Crates.io Version Docs.rs Latest

Peter builds on the ansi_term crate to allow styling of anything implementing Display and makes colorizing text less verbose to use by providing the Stylize trait.

Getting started

use peter::Stylize;

println!("This is in red: {}", "a red string".red());

println!("How about some {}?", "bold and underline".bold().underline());

License

Licensed under either of

at your option.

About

๐ŸŒˆ ANSI terminal colours and styles for anything implementing `Display`

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Languages