2016-03-07 16:39:25 +00:00
|
|
|
#[warn(missing_docs)]
|
|
|
|
|
2016-03-07 21:19:35 +00:00
|
|
|
#[cfg(not(target_os = "redox"))]
|
2016-03-06 13:54:26 +00:00
|
|
|
extern crate libc;
|
|
|
|
|
2016-03-07 21:19:35 +00:00
|
|
|
#[cfg(not(target_os = "redox"))]
|
2016-03-07 15:01:20 +00:00
|
|
|
mod termios;
|
2016-03-06 13:54:26 +00:00
|
|
|
|
2016-03-07 15:01:20 +00:00
|
|
|
mod control;
|
2016-03-08 20:40:48 +00:00
|
|
|
pub use control::TermWrite;
|
2016-03-08 20:39:24 +00:00
|
|
|
|
|
|
|
mod input;
|
2016-03-08 20:40:48 +00:00
|
|
|
pub use input::TermRead;
|
2016-03-06 13:54:26 +00:00
|
|
|
|
2016-03-07 21:19:35 +00:00
|
|
|
mod error;
|
|
|
|
pub use error::TerminalError;
|
|
|
|
|
2016-03-07 15:01:20 +00:00
|
|
|
mod raw;
|
2016-03-07 21:19:35 +00:00
|
|
|
pub use raw::{IntoRawMode, TerminalRestorer};
|
2016-03-06 13:54:26 +00:00
|
|
|
|
2016-03-07 15:01:20 +00:00
|
|
|
mod size;
|
2016-03-08 09:08:50 +00:00
|
|
|
pub use size::terminal_size;
|
2016-03-07 16:39:25 +00:00
|
|
|
|
|
|
|
mod color;
|
|
|
|
pub use color::Color;
|
2016-03-07 16:57:17 +00:00
|
|
|
|
2016-03-08 17:38:07 +00:00
|
|
|
mod style;
|
|
|
|
pub use style::Style;
|