Function rust_apt::util::terminal_height
source · [−]pub fn terminal_height() -> usizeExpand description
Get the terminal’s height, i.e. the number of rows it has.
Returns:
- The terminal height, or
24if it cannot be determined.