Use configured log fgColor to print log markers (#2546)
parent
e90e5203bb
commit
93cad8c958
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue