File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -443,8 +443,8 @@ func (g *Gui) flush() error {
443443 fgColor = g .SelFgColor
444444 bgColor = g .SelBgColor
445445 } else {
446- fgColor = g . FgColor
447- bgColor = g . BgColor
446+ fgColor = v . FrameFgColor
447+ bgColor = v . FrameBgColor
448448 }
449449
450450 if err := g .drawFrameEdges (v , fgColor , bgColor ); err != nil {
Original file line number Diff line number Diff line change @@ -33,6 +33,10 @@ type View struct {
3333 // colors of the View.
3434 BgColor , FgColor Attribute
3535
36+ // BgColor and FgColor allow to configure the background and foreground
37+ // colors of the Frame View.
38+ FrameBgColor , FrameFgColor Attribute
39+
3640 // SelBgColor and SelFgColor are used to configure the background and
3741 // foreground colors of the selected line, when it is highlighted.
3842 SelBgColor , SelFgColor Attribute
You can’t perform that action at this time.
0 commit comments