Function rustix::termios::tcgetwinsize
source · pub fn tcgetwinsize<Fd: AsFd>(fd: Fd) -> Result<Winsize>Expand description
tcgetwinsize(fd)—Get the current terminal window size.
Also known as the TIOCGWINSZ operation with ioctl.