Function terminal_size::terminal_size_using_handle
source · Expand description
Returns the size of the terminal using the given handle, if available.
If the given handle is not a tty, returns None
Returns the size of the terminal using the given handle, if available.
If the given handle is not a tty, returns None