Function rust_apt::util::terminal_width

source ·
pub fn terminal_width() -> usize
Expand description

Get the terminal’s width, i.e. the number of columns it has.

§Returns:

  • The terminal width, or 80 if it cannot be determined.