pub fn terminal_size_fd(fd: &impl AsRawFd) -> Result<(u16, u16)>
Get the size (columns, rows) of the terminal from descriptor object.