about summary refs log tree commit diff
path: root/pkgs/aszlig/gopass/use-color-in-pager.patch
blob: 86f6fd530f52bf5fc9e16e098c08a11b07d2b13c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/pkg/action/list.go b/pkg/action/list.go
index 03de22b..d54113f 100644
--- a/pkg/action/list.go
+++ b/pkg/action/list.go
@@ -14,7 +14,6 @@ import (
 	"github.com/justwatchcom/gopass/pkg/termutil"
 	"github.com/justwatchcom/gopass/pkg/tree"
 
-	"github.com/fatih/color"
 	shellquote "github.com/kballard/go-shellquote"
 	"github.com/pkg/errors"
 	"github.com/urfave/cli"
@@ -89,7 +88,6 @@ func redirectPager(ctx context.Context, subtree tree.Tree) (io.Writer, *bytes.Bu
 	if subtree == nil || subtree.Len() < rows {
 		return stdout, nil
 	}
-	color.NoColor = true
 	buf := &bytes.Buffer{}
 	return buf, buf
 }