Merge pull request #493 from 0xE0F/master

Fixed compilation for Solaris
This commit is contained in:
Simon Eskildsen 2017-02-27 07:43:41 -05:00 committed by GitHub
commit cf5e096eea
1 changed files with 0 additions and 1 deletions

View File

@ -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)