From 78a50b71608d6edc3607be122f199e291a20cf5d Mon Sep 17 00:00:00 2001 From: Tnze Date: Sun, 11 Aug 2019 11:22:26 +0800 Subject: [PATCH] remove color print support of autofish --- cmd/autofish/autofish.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/autofish/autofish.go b/cmd/autofish/autofish.go index 08791dc..06756b5 100644 --- a/cmd/autofish/autofish.go +++ b/cmd/autofish/autofish.go @@ -7,7 +7,7 @@ import ( "github.com/Tnze/go-mc/bot" "github.com/Tnze/go-mc/chat" _ "github.com/Tnze/go-mc/data/lang/en-us" - "github.com/mattn/go-colorable" + //"github.com/mattn/go-colorable" // this package is nice but cannot get in china mainland because it import golang.org/x/sys ) const timeout = 45 @@ -18,7 +18,7 @@ var ( ) func main() { - log.SetOutput(colorable.NewColorableStdout()) + //log.SetOutput(colorable.NewColorableStdout()) c = bot.NewClient() //Login