func IsTerminal(fd int) bool {
	var st uint32
	err := windows.GetConsoleMode(windows.Handle(fd), &st)
	return err == nil
}
func IsTerminal(fd int) bool {
	var st uint32
	err := windows.GetConsoleMode(windows.Handle(fd), &st)
	return err == nil
}
func IsTerminal ( fd int ) bool { var st uint32 err := windows . GetConsoleMode ( windows . Handle ( fd ) , & st ) return err == nil }
// IsTerminal returns true if the given file descriptor is a terminal.
IsTerminal returns true if the given file descriptor is a terminal .