minicrossterm/src/kernel/windows_kernel/mod.rs
Timon ad3efbd34d
Error handling (#69)
* Implemented an error module for crossterm and fixed a lot of warnings.
2019-01-01 13:27:50 -08:00

18 lines
390 B
Rust

//! This module contains the `windows` (unsafe) logic.
#[allow(unused)]
mod reading;
pub mod ansi_support;
mod cursor;
pub mod writing;
pub use self::cursor::Cursor;
pub use crossterm_winapi::{
Console, ConsoleMode, Coord, Handle, HandleType, ScreenBuffer, ScreenBufferInfo, Size,
WindowPositions,
};
/// Exit the current process.
pub fn exit() {
::std::process::exit(256);
}