Function terminal_size::terminal_size_using_handle[][src]

pub fn terminal_size_using_handle(handle: RawHandle) -> Option<(Width, Height)>
Expand description

Returns the size of the terminal using the given handle, if available.

If the given handle is not a tty, returns None