diff --git a/terminal_solaris.go b/terminal_solaris.go index 62096db..3c86b1a 100644 --- a/terminal_solaris.go +++ b/terminal_solaris.go @@ -11,7 +11,6 @@ import ( // IsTerminal returns true if the given file descriptor is a terminal. func IsTerminal(f io.Writer) bool { - var termios Termios switch v := f.(type) { case *os.File: _, err := unix.IoctlGetTermios(int(v.Fd()), unix.TCGETA)