From 2f93c6ca308a15c5d3e280274bd698604276143c Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Sun, 7 May 2017 23:05:20 +0200 Subject: YAGNI --- pkg/cli/query.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/cli/query.go') diff --git a/pkg/cli/query.go b/pkg/cli/query.go index 1f5d16c..2a6a5bc 100644 --- a/pkg/cli/query.go +++ b/pkg/cli/query.go @@ -170,7 +170,7 @@ func displayChoices(out io.Writer, choices []Choice, selectedIndex int) { } if idx == selectedIndex { - out.Write(Styled(text, AnsiInverse).DisplayString(true)) + fmt.Fprintf(out, "\x1B[0;7m%s\x1B[0m", text) } else { out.Write([]byte(text)) } -- cgit v1.3.1