Function terminal_size::terminal_size
source · [−]Expand description
Returns the size of the terminal defaulting to STDOUT, if available.
If STDOUT is not a tty, returns None
Returns the size of the terminal defaulting to STDOUT, if available.
If STDOUT is not a tty, returns None