From e0263cbc81ab4cb2483438119ff6873a51a114f0 Mon Sep 17 00:00:00 2001 From: Peter Roehlen Date: Sat, 18 Jul 2020 02:47:46 +0000 Subject: [PATCH] Fix "red" color in example simple.rs --- examples/simple.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/simple.rs b/examples/simple.rs index 93ef1df..86c4603 100644 --- a/examples/simple.rs +++ b/examples/simple.rs @@ -31,7 +31,7 @@ fn main() { // Clear the screen b'c' => write!(stdout, "{}", termion::clear::All), // Set red color - b'r' => write!(stdout, "{}", color::Fg(color::Rgb(5, 0, 0))), + b'r' => write!(stdout, "{}", color::Fg(color::Rgb(255, 0, 0))), // Write it to stdout. a => write!(stdout, "{}", a), }