Quellcode durchsuchen

depend on go-isatty

Close #7
Yasuhiro Matsumoto vor 8 Jahren
Ursprung
Commit
941b50ebc6
2 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  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.