Update README.md

Code mistake edited
This commit is contained in:
Timon 2018-01-27 19:59:33 +01:00 committed by GitHub
parent aa01eb1dab
commit 177953b183
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ For detailed examples of all crossterm functionalities check the [examples](http
// Set background Color from RGB
println!("RGB (10,10,10): \t {}", paint(" ").on(Color::Rgb {r: 10, g: 10, b: 10}));
// Set background Color from RGB
println!("RGB (10,10,10): \t {}", paint(" ").on(Color::AnsiValue(50)));
println!("ANSI value (50): \t {}", paint(" ").on(Color::AnsiValue(50)));
// Use attributes to syle the font.
println!("{}", paint("Normal text"));