aerc

Working clone of aerc-mail.org
git clone git://git.danielmoch.com/aerc.git
Log | Files | Refs | README | LICENSE

commit 33f2d4f9ee132e979ad5f92284d87e6e2a56426d
parent d224487b6834aff5bb53f7042a142a7f3abe27b9
Author: Drew DeVault <sir@cmpwn.com>
Date:   Mon, 20 May 2019 17:05:37 -0400

Show unsupported mimetype message in red

Diffstat:
Mwidgets/msgviewer.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/widgets/msgviewer.go b/widgets/msgviewer.go @@ -425,7 +425,7 @@ func (pv *PartViewer) Draw(ctx *ui.Context) { if pv.filter == nil { // TODO: Let them download it directly or something ctx.Fill(0, 0, ctx.Width(), ctx.Height(), ' ', tcell.StyleDefault) - ctx.Printf(0, 0, tcell.StyleDefault, + ctx.Printf(0, 0, tcell.StyleDefault.Foreground(tcell.ColorRed), "No filter configured for this mimetype") return }