File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -451,8 +451,8 @@ func (g *Gui) flush() error {
451451 fgColor = g .SelFgColor
452452 bgColor = g .SelBgColor
453453 } else {
454- fgColor = g . FgColor
455- bgColor = g . BgColor
454+ fgColor = v . FrameFgColor
455+ bgColor = v . FrameBgColor
456456 }
457457
458458 if err := g .drawFrameEdges (v , fgColor , bgColor ); err != nil {
Original file line number Diff line number Diff line change @@ -37,6 +37,10 @@ type View struct {
3737 // foreground colors of the title of the view.
3838 TitleBgColor , TitleFgColor Attribute
3939
40+ // BgColor and FgColor allow to configure the background and foreground
41+ // colors of the Frame View.
42+ FrameBgColor , FrameFgColor Attribute
43+
4044 // SelBgColor and SelFgColor are used to configure the background and
4145 // foreground colors of the selected line, when it is highlighted.
4246 SelBgColor , SelFgColor Attribute
You can’t perform that action at this time.
0 commit comments