summaryrefslogtreecommitdiffstats
path: root/vendor/termize/src/platform/mod.rs
blob: c48d001e970d000f90c4f8ad3e79ecebcb010c72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[cfg(unix)]
mod unix;
#[cfg(unix)]
pub use self::unix::{dimensions, dimensions_stderr, dimensions_stdin, dimensions_stdout};

#[cfg(windows)]
mod windows;
#[cfg(windows)]
pub use self::windows::{dimensions, dimensions_stderr, dimensions_stdin, dimensions_stdout};

// makes project compilable on unsupported platforms
#[cfg(not(any(unix, windows)))]
mod unsupported;
#[cfg(not(any(unix, windows)))]
pub use self::unsupported::{dimensions, dimensions_stderr, dimensions_stdin, dimensions_stdout};