Function rows

Source
pub fn rows() -> u16
Expand description

Returns the number of rows in the current terminal via tuple

use ioctl_term_light::rows;

assert_eq!(rows(), 0);