update vendor directory

This commit is contained in:
henry.chen
2017-03-11 00:54:27 +08:00
parent 5d24af11e5
commit 5f047c2c27
94 changed files with 1668 additions and 1135 deletions

View File

@@ -2,13 +2,16 @@ package main
import (
"fmt"
"github.com/mattn/go-isatty"
"os"
"github.com/mattn/go-isatty"
)
func main() {
if isatty.IsTerminal(os.Stdout.Fd()) {
fmt.Println("Is Terminal")
} else if isatty.IsCygwinTerminal(os.Stdout.Fd()) {
fmt.Println("Is Cygwin/MSYS2 Terminal")
} else {
fmt.Println("Is Not Terminal")
}