[−][src]Function terminal_size::terminal_size_using_handle
pub fn terminal_size_using_handle(handle: RawHandle) -> Option<(Width, Height)>
Returns the size of the terminal using the given handle, if available.
If the given handle is not a tty, returns None