Skip to content

Commit

Permalink
feat: highlight text - removed commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
pamela committed Sep 4, 2019
1 parent c5aa81c commit 150ebb3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions processor/tui.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 150ebb3

Please sign in to comment.