Function termsize::termsize
[−]
[src]
pub fn termsize() -> Option<(usize, usize)>
Returns the size of the terminal as a tuple Option<(width, height)>
.
Width: Number of columns.
Height: Number of rows.