Parcourir la source

depend on go-isatty

Close #7
Yasuhiro Matsumoto il y a 8 ans
Parent
commit
941b50ebc6
2 fichiers modifiés avec 4 ajouts et 0 suppressions
  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.