Skip to content

Commit

Permalink
fix(docs): Update README example for accuracy (#7)
Browse files Browse the repository at this point in the history
The machine certainly doesn't support 256-bit colors!
  • Loading branch information
afranchuk authored and zkat committed Nov 5, 2022
1 parent bbd7992 commit 88a56df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if let Some(support) = supports_color::on(Stream::Stdout) {
if support.has_16m {
println!("16 million (RGB) colors are supported");
} else if support.has_256 {
println!("256-bit colors are supported.");
println!("256 colors are supported.");
} else if support.has_basic {
println!("Only basic ANSI colors are supported.");
}
Expand Down

0 comments on commit 88a56df

Please sign in to comment.