2018-01-04 00:43:54 +11:00
|
|
|
#[macro_use]
|
2018-01-18 09:06:45 +11:00
|
|
|
mod shared;
|
2018-01-04 00:43:54 +11:00
|
|
|
mod kernel;
|
2018-01-18 09:06:45 +11:00
|
|
|
pub mod crossterm_cursor;
|
|
|
|
pub mod crossterm_style;
|
|
|
|
pub mod crossterm_terminal;
|
2018-01-04 00:43:54 +11:00
|
|
|
|
2018-01-07 07:31:14 +11:00
|
|
|
use shared::traits::{Construct, Empty};
|
2018-01-04 00:43:54 +11:00
|
|
|
|
2018-01-07 07:31:14 +11:00
|
|
|
#[cfg(windows)]
|
|
|
|
extern crate kernel32;
|
|
|
|
#[cfg(windows)]
|
|
|
|
extern crate winapi;
|
2018-01-18 09:06:45 +11:00
|
|
|
#[cfg(unix)]
|
|
|
|
extern crate libc;
|