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

@@ -33,7 +33,7 @@ func (widget *Widget) display() {
}
func (widget *Widget) formattedItemLine(item *Item, selectedItem *Item, maxLen int) string {
foreColor, backColor := "white", "black"
foreColor, backColor := "white", Config.UString("wtf.colors.background", "black")
if item.Checked {
foreColor = Config.UString("wtf.mods.todo.colors.checked", "white")