Function tcgetwinsize
Source pub fn tcgetwinsize<Fd: AsFd>(fd: Fd) -> Result<Winsize>
Available on crate feature termios only.
Expand description
tcgetwinsize(fd)—Get the current terminal window size.
Also known as the TIOCGWINSZ operation with ioctl.
§References