Fix example
This commit is contained in:
parent
26238c9a24
commit
1fe15b95cb
@ -22,12 +22,12 @@
|
||||
//! extern crate term;
|
||||
//!
|
||||
//! fn main() {
|
||||
//! let mut t = term::stdout();
|
||||
//! t.fg(term::color::GREEN);
|
||||
//! let mut t = term::stdout().unwrap();
|
||||
//! t.fg(term::color::GREEN).unwrap();
|
||||
//! println!("hello, ");
|
||||
//! t.fg(term::color::RED);
|
||||
//! t.fg(term::color::RED).unwrap();
|
||||
//! println!("world!");
|
||||
//! t.reset();
|
||||
//! t.reset().unwrap();
|
||||
//! }
|
||||
//! ```
|
||||
//!
|
||||
|
Loading…
Reference in New Issue
Block a user