Function pseudoterm::get_size

source ·
pub fn get_size<F: AsRawFd>(fd: &F) -> Result<Winsize>
Expand description

Get the window size for the specified file. This is a shortcut for:

WinsizeSetter::new(fd)?.get()