Updated formatting
This commit is contained in:
parent
afc4092824
commit
9c8f71be07
25 changed files with 25 additions and 25 deletions
|
@ -8,4 +8,4 @@ import "golang.org/x/sys/unix"
|
|||
func IsTerminal(fd uintptr) bool {
|
||||
_, err := unix.IoctlGetTermios(int(fd), unix.TIOCGETA)
|
||||
return err == nil
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue