diff options
author | Frederic Guillot <fred@miniflux.net> | 2018-12-09 17:59:39 -0800 |
---|---|---|
committer | Frederic Guillot <fred@miniflux.net> | 2018-12-09 17:59:39 -0800 |
commit | 59d8e9b95eddc6b74b76bfc0bd8b786750e800a6 (patch) | |
tree | 5b2379ea736b7bb94e2fc0d492e86b04f32a8d2b /vendor/golang.org/x/crypto/ssh/terminal/util.go | |
parent | 61bfb3cfa8857a144460d05330c1d1fccded960b (diff) |
Update dependencies
Diffstat (limited to 'vendor/golang.org/x/crypto/ssh/terminal/util.go')
-rw-r--r-- | vendor/golang.org/x/crypto/ssh/terminal/util.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/golang.org/x/crypto/ssh/terminal/util.go b/vendor/golang.org/x/crypto/ssh/terminal/util.go index 731c89a..3911040 100644 --- a/vendor/golang.org/x/crypto/ssh/terminal/util.go +++ b/vendor/golang.org/x/crypto/ssh/terminal/util.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build darwin dragonfly freebsd linux,!appengine netbsd openbsd +// +build aix darwin dragonfly freebsd linux,!appengine netbsd openbsd // Package terminal provides support functions for dealing with terminals, as // commonly found on UNIX systems. @@ -25,7 +25,7 @@ type State struct { termios unix.Termios } -// IsTerminal returns true if the given file descriptor is a terminal. +// IsTerminal returns whether the given file descriptor is a terminal. func IsTerminal(fd int) bool { _, err := unix.IoctlGetTermios(fd, ioctlReadTermios) return err == nil |