Function size
pub fn size() -> Result<(u16, u16), Error> ⓘ
Available on crate features
dep_crossterm
and std
only.Expand description
Returns the terminal size (columns, rows)
.
The top left cell is represented (1, 1)
.