summaryrefslogtreecommitdiff
path: root/app.go
diff options
context:
space:
mode:
authorTim Culverhouse <tim@timculverhouse.com>2022-04-20 09:38:56 -0500
committerdelthas <delthas@dille.cc>2022-04-20 18:11:23 +0200
commit80d5d8b35b450f7183fd46beedd7316f307c2b8d (patch)
treed063526395629aceddc645ee11e80ad677099773 /app.go
parentUpdate mailing list (diff)
Add a config option for unread buffer text color
This patch adds the ability to set a config option for changing the foreground text color of unread buffers (This was refactored slightly by delthas.)
Diffstat (limited to 'app.go')
-rw-r--r--app.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/app.go b/app.go
index 1affe75..9c85db3 100644
--- a/app.go
+++ b/app.go
@@ -134,6 +134,9 @@ func NewApp(cfg Config) (app *App, err error) {
MergeLine: func(former *ui.Line, addition ui.Line) {
app.mergeLine(former, addition)
},
+ Colors: ui.ConfigColors{
+ Unread: cfg.Colors.Unread,
+ },
})
if err != nil {
return