Skip to main content

get_terminal_height_of

Function get_terminal_height_of 

Source
pub fn get_terminal_height_of(handle: &impl AsFd) -> u16
Expand description

Returns the terminal height for the given handle, or 24 as fallback.

ยงPanics

This function does not panic.