termion/src/lib.rs

32 lines
435 B
Rust
Raw Normal View History

#![feature(io)]
2016-03-06 13:54:26 +00:00
#![feature(libc)]
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;
pub use control::TermControl;
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;
pub use size::termsize;
2016-03-07 16:39:25 +00:00
mod color;
pub use color::Color;
2016-03-07 16:57:17 +00:00
mod mode;
pub use mode::Mode;
mod extra;
pub use extra::ReadExt;