From abe468115870c5440c7ac29b810b59fed5471eb5 Mon Sep 17 00:00:00 2001 From: Ticki Date: Tue, 8 Mar 2016 21:40:48 +0100 Subject: [PATCH] Fix examples --- examples/simple.rs | 2 +- src/lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/simple.rs b/examples/simple.rs index 3991cd3..61bd7ef 100644 --- a/examples/simple.rs +++ b/examples/simple.rs @@ -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() { diff --git a/src/lib.rs b/src/lib.rs index 0ad5bf7..99240fe 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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;