瀏覽代碼

depend on go-isatty

Close #7
Yasuhiro Matsumoto 8 年之前
父節點
當前提交
941b50ebc6
共有 2 個文件被更改,包括 4 次插入0 次删除
  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.