1 2 3 4 5 6 7 8 9 10 11 12 13
// Copyright 2022-2026 Martin Pool //! Measure terminal width. #[cfg(unix)] mod unix; #[cfg(unix)] pub(crate) use unix::{stderr_width, stdout_width}; #[cfg(windows)] mod windows; #[cfg(windows)] pub(crate) use windows::{stderr_width, stdout_width};