// IsNotTerminal checks if an error is related to io not being a terminal.
IsNotTerminal checks if an error is related to io not being a terminal.
// IsNotTerminal checks if an error is related to io not being a terminal .
func IsNotTerminal(err error) bool {
	if err == syscall.ENOTTY {
		return true
	}
	return false
}
func IsNotTerminal ( err error ) bool { if err == syscall . ENOTTY { return true } return false }
IsNotTerminal checks if an error is related to io not being a terminal.
IsNotTerminal checks if an error is related to io not being a terminal .