Skip to content

Commit

Permalink
finder: fix marker color
Browse files Browse the repository at this point in the history
  • Loading branch information
abenz1267 committed Feb 18, 2025
1 parent 97b76f6 commit a41168f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.12.16-git
0.12.16
2 changes: 1 addition & 1 deletion internal/modules/finder.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func (f *Finder) Entries(term string) []util.Entry {
if pos != nil {
for k, v := range label {
if slices.Contains(*pos, k) {
res = fmt.Sprintf("%s<span color=\"%s\">%s</span>", res, f.MarkerColor, string(v))
res = fmt.Sprintf("%s|MARKERSTART|%s|MARKEREND|", res, string(v))
} else {
res = fmt.Sprintf("%s%s", res, string(v))
}
Expand Down

0 comments on commit a41168f

Please sign in to comment.