code: func GetSize() (ws Size, err error) {
  	_, _, ec := syscall.Syscall(syscall.SYS_IOCTL,
  		uintptr(syscall.Stdout),
  		uintptr(TIOCGWINSZ),
  		uintptr(unsafe.Pointer(&ws)))
  
  	err = getError(ec)
  
  	if TIOCGWINSZ == 0 && err != nil {
  		ws = Size{80, 25, 0, 0}
  	}
  	return ws, err
  }
docs: // Get Windows Size