Skip to content

Commit

Permalink
Use configured log fgColor to print log markers (derailed#2546)
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobEdding committed Feb 22, 2024
1 parent ec71b86 commit 4679e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/view/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ func (l *Log) clearCmd(*tcell.EventKey) *tcell.EventKey {

func (l *Log) markCmd(*tcell.EventKey) *tcell.EventKey {
_, _, w, _ := l.GetRect()
fmt.Fprintf(l.ansiWriter, "\n[white:-:b]%s[-:-:-]", strings.Repeat("─", w-4))
fmt.Fprintf(l.ansiWriter, "\n[%s:-:b]%s[-:-:-]", l.app.Styles.Views().Log.FgColor.String(), strings.Repeat("─", w-4))
l.follow = true

return nil
Expand Down

0 comments on commit 4679e23

Please sign in to comment.