Browse Source

Merge pull request #11 from grafov/master

Fix argument type.
mattn 9 năm trước cách đây
mục cha
commit
30a891c33c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      _example/example.go

+ 1 - 1
_example/example.go

@@ -7,7 +7,7 @@ import (
 )
 
 func main() {
-	if isatty.IsTerminal(int(os.Stdout.Fd())) {
+	if isatty.IsTerminal(os.Stdout.Fd()) {
 		fmt.Println("Is Terminal")
 	} else {
 		fmt.Println("Is Not Terminal")