Skip to main content

detect_terminal_width

Function detect_terminal_width 

Source
fn detect_terminal_width() -> i64
Expand description

Detect the terminal width using the best available backend.

Priority: crossterm (repl feature) > terminal_size crate > fallback to 80.