Merge branch 'master' into 'master'
Fix "red" color in example simple.rs See merge request redox-os/termion!173
This commit is contained in:
commit
b4c8320a4c
|
@ -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),
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue