summary refs log tree commit diff stats
path: root/widgets
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-05-20 17:05:37 -0400
committerDrew DeVault <sir@cmpwn.com>2019-05-20 17:05:37 -0400
commit33f2d4f9ee132e979ad5f92284d87e6e2a56426d (patch)
tree999f28434fc3ccea926581b2607ba5f6133ef3b8 /widgets
parentd224487b6834aff5bb53f7042a142a7f3abe27b9 (diff)
downloadaerc-33f2d4f9ee132e979ad5f92284d87e6e2a56426d.tar.gz
Show unsupported mimetype message in red
Diffstat (limited to 'widgets')
-rw-r--r--widgets/msgviewer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/msgviewer.go b/widgets/msgviewer.go
index e676478..39ee637 100644
--- 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
 	}