~sircmpwn/aerc

correctly apply msglist_read color v1 PROPOSED

y0ast: 1
 correctly apply msglist_read color

 1 files changed, 5 insertions(+), 0 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/12753/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH] correctly apply msglist_read color Export this patch

msglist_read in the stylesets is currently ignored, this patch fixes
that.

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

diff --git a/widgets/msglist.go b/widgets/msglist.go
index e38dd9e..dd52c84 100644
--- a/widgets/msglist.go
+++ b/widgets/msglist.go
@@ -125,6 +125,11 @@ func (ml *MessageList) Draw(ctx *ui.Context) {
				flagged = true
			}
		}

		if seen {
			so = config.STYLE_MSGLIST_READ
		}

		if !seen {
			so = config.STYLE_MSGLIST_UNREAD
		}
-- 
2.28.0
Hi,

On Mon, Aug 31, 2020 at 10:31:51PM +0100, y0ast wrote: