Update vendor for all new features

This commit is contained in:
Nicholas Thompson
2020-06-15 14:05:59 +02:00
parent 934c629a41
commit 1840fae1aa
551 changed files with 269828 additions and 3 deletions

View File

@@ -0,0 +1,13 @@
// +build linux aix
// +build !js
package logrus
import "golang.org/x/sys/unix"
const ioctlReadTermios = unix.TCGETS
func isTerminal(fd int) bool {
_, err := unix.IoctlGetTermios(fd, ioctlReadTermios)
return err == nil
}