Function term_size::dimensions_stderr
[−]
[src]
pub fn dimensions_stderr() -> Option<(usize, usize)>
Query the current processes's error output (stderr
) only, in the attempt to dtermine
terminal width. If that streams is actually a tty, this function returns its width
and height as a number of characters.
If all of the streams are not ttys or return any errors this function will return None
.