1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Close #84. Add wtf.colors.background config option

This commit is contained in:
Chris Cummer
2018-05-31 08:48:10 -07:00
parent 43d937992c
commit 9e49c18c44
9 changed files with 29 additions and 3 deletions

View File

@@ -78,6 +78,7 @@ func (widget *TextWidget) TextView() *tview.TextView {
func (widget *TextWidget) addView() {
view := tview.NewTextView()
view.SetBackgroundColor(ColorFor(Config.UString("wtf.colors.background", "black")))
view.SetBorder(true)
view.SetBorderColor(ColorFor(widget.BorderColor()))
view.SetDynamicColors(true)