From 150ebb3323a4dbff35df2085f5cd41ac70861677 Mon Sep 17 00:00:00 2001 From: pamela Date: Wed, 4 Sep 2019 15:22:30 +1000 Subject: [PATCH] feat: highlight text - removed commented code --- processor/tui.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/processor/tui.go b/processor/tui.go index d09b3d0..183bba6 100644 --- a/processor/tui.go +++ b/processor/tui.go @@ -139,8 +139,6 @@ func colorSearchString(res *FileJob) string { var offset int for _, loc := range locs { coloredContent += content[offset:loc] - //red := color.New(color.FgRed).SprintFunc() - //red(k) coloredContent += fmt.Sprintf("[red]%s", k) + "[white]" counter++ offset = loc + len(k)