1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![cfg_attr(all(doc, CHANNEL_NIGHTLY), feature(doc_auto_cfg))]
#![cfg_attr(windows, feature(windows_process_extensions_raw_attribute))]

mod blocking;
#[cfg(feature = "non-blocking")]
pub mod non_blocking;
mod sys;

pub use blocking::*;

#[derive(Clone, Copy, Debug, PartialEq)]
pub struct TerminalSize {
    pub rows: u16,
    pub columns: u16,
}