Fix examples

This commit is contained in:
Ticki 2016-03-08 21:40:48 +01:00
parent a16cc84ea3
commit abe4681158
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
extern crate libterm; extern crate libterm;
use libterm::{WriteExt, IntoRawMode, Color, Style}; use libterm::{TermWrite, IntoRawMode, Color, Style};
use std::io::{Read, Write, stdout, stdin}; use std::io::{Read, Write, stdout, stdin};
fn main() { fn main() {

View File

@ -7,10 +7,10 @@ extern crate libc;
mod termios; mod termios;
mod control; mod control;
pub use control::WriteExt; pub use control::TermWrite;
mod input; mod input;
pub use input::ReadExt; pub use input::TermRead;
mod error; mod error;
pub use error::TerminalError; pub use error::TerminalError;