- Command API to introduce easier usability, better performance, and more control over to which buffer to write, and when to flush the buffer to the terminal.
17 lines
373 B
Rust
17 lines
373 B
Rust
#[macro_use]
|
|
extern crate crossterm_utils;
|
|
extern crate crossterm_cursor;
|
|
|
|
#[cfg(windows)]
|
|
extern crate crossterm_winapi;
|
|
|
|
#[cfg(unix)]
|
|
extern crate libc;
|
|
|
|
mod sys;
|
|
mod terminal;
|
|
|
|
pub use self::terminal::{terminal, Clear, ClearType, ScrollDown, ScrollUp, SetSize, Terminal};
|
|
|
|
pub use crossterm_utils::{execute, queue, Command, ExecutableCommand, QueueableCommand, Result};
|