ree/lib.rs
1//! A fast terminal reset for macOS and Linux.
2//!
3//! `ree` repairs the kernel TTY state and resets the attached terminal emulator
4//! without linking to ncurses.
5
6#![cfg_attr(
7 not(any(target_os = "linux", target_os = "macos")),
8 allow(unused_imports)
9)]
10
11#[cfg(not(any(target_os = "linux", target_os = "macos")))]
12compile_error!("ree supports macOS and Linux");
13
14mod display;
15mod error;
16mod reset;
17mod terminfo;
18mod terminfo_db;
19mod tty;
20
21pub use error::Error;
22pub use reset::reset;