pseudoterm
pub fn get_size<F: AsRawFd>(fd: &F) -> Result<Winsize>
Get the window size for the specified file. This is a shortcut for:
WinsizeSetter::new(fd)?.get()