~sircmpwn/aerc

correctly apply msglist_read color v2 PROPOSED

y0ast: 1
 correctly apply msglist_read color

 1 files changed, 4 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/aerc/patches/13016/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH v2] correctly apply msglist_read color Export this patch

---
Change as requested.

 widgets/msglist.go | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/widgets/msglist.go b/widgets/msglist.go
index e38dd9e..09b0868 100644
--- a/widgets/msglist.go
+++ b/widgets/msglist.go
@@ -125,7 +125,10 @@ func (ml *MessageList) Draw(ctx *ui.Context) {
				flagged = true
			}
		}
		if !seen {

		if seen {
			so = config.STYLE_MSGLIST_READ
		} else {
			so = config.STYLE_MSGLIST_UNREAD
		}

-- 
2.28.0
Merged, thanks.

Greetings,
Reto