Fix examples
This commit is contained in:
parent
a16cc84ea3
commit
abe4681158
|
@ -1,6 +1,6 @@
|
|||
extern crate libterm;
|
||||
|
||||
use libterm::{WriteExt, IntoRawMode, Color, Style};
|
||||
use libterm::{TermWrite, IntoRawMode, Color, Style};
|
||||
use std::io::{Read, Write, stdout, stdin};
|
||||
|
||||
fn main() {
|
||||
|
|
|
@ -7,10 +7,10 @@ extern crate libc;
|
|||
mod termios;
|
||||
|
||||
mod control;
|
||||
pub use control::WriteExt;
|
||||
pub use control::TermWrite;
|
||||
|
||||
mod input;
|
||||
pub use input::ReadExt;
|
||||
pub use input::TermRead;
|
||||
|
||||
mod error;
|
||||
pub use error::TerminalError;
|
||||
|
|
Loading…
Reference in New Issue