Merge branch 'master' into 'master'

Fix "red" color in example simple.rs

See merge request redox-os/termion!173
This commit is contained in:
Jeremy Soller 2022-10-21 06:49:11 +00:00
commit b4c8320a4c
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ fn main() {
// Clear the screen // Clear the screen
b'c' => write!(stdout, "{}", termion::clear::All), b'c' => write!(stdout, "{}", termion::clear::All),
// Set red color // 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. // Write it to stdout.
a => write!(stdout, "{}", a), a => write!(stdout, "{}", a),
} }