release v1.20

This commit is contained in:
deepzz0
2017-06-14 21:25:18 +08:00
parent 1634418a13
commit 54f5289d6b
134 changed files with 26141 additions and 18531 deletions

View File

@@ -1,4 +1,4 @@
package main
package isatty_test
import (
"fmt"
@@ -7,7 +7,7 @@ import (
"github.com/mattn/go-isatty"
)
func main() {
func Example() {
if isatty.IsTerminal(os.Stdout.Fd()) {
fmt.Println("Is Terminal")
} else if isatty.IsCygwinTerminal(os.Stdout.Fd()) {