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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user