Browse Source

depend on go-isatty

Close #7
Yasuhiro Matsumoto 8 years ago
parent
commit
941b50ebc6
2 changed files with 4 additions and 0 deletions
  1. 2 0
      colorable_appengine.go
  2. 2 0
      colorable_others.go

+ 2 - 0
colorable_appengine.go

@@ -5,6 +5,8 @@ package colorable
 import (
 	"io"
 	"os"
+
+	_ "github.com/mattn/go-isatty"
 )
 
 // NewColorable return new instance of Writer which handle escape sequence.

+ 2 - 0
colorable_others.go

@@ -6,6 +6,8 @@ package colorable
 import (
 	"io"
 	"os"
+
+	_ "github.com/mattn/go-isatty"
 )
 
 // NewColorable return new instance of Writer which handle escape sequence.