Commit e0263cbc authored by Peter Roehlen's avatar Peter Roehlen

Fix "red" color in example simple.rs

parent 18922255
Pipeline #8039 failed with stages
in 1 minute and 21 seconds
......@@ -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),
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment