Skip to main content

terminal_width

Function terminal_width 

Source
pub fn terminal_width() -> usize
Expand description

Get the current terminal width, falling back to $COLUMNS or 80.