Skip to content
Myr

Fix custom foreground color inside preview window

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Close #1046

authored by Junegunn Choi · committed by Junegunn Choi · parent a8deca2 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/terminal.go+1 added-1 removed
988 unmodified lines
989 str, _ = t.processTabs(trimmed, 0)990 if t.theme != nil && ansi != nil && ansi.colored() {991 fillRet = t.pwindow.CFill(ansi.fg, ansi.bg, ansi.attr, str)992 } else {993 fillRet = t.pwindow.Fill(str)993 fillRet = t.pwindow.CFill(tui.ColNormal.Fg(), tui.ColNormal.Bg(), tui.AttrRegular, str)994 }995 return fillRet == tui.FillContinue996 })997 switch fillRet {
859 unmodified lines