diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-05-20 17:05:37 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-05-20 17:05:37 -0400 |
commit | 33f2d4f9ee132e979ad5f92284d87e6e2a56426d (patch) | |
tree | 999f28434fc3ccea926581b2607ba5f6133ef3b8 | |
parent | d224487b6834aff5bb53f7042a142a7f3abe27b9 (diff) | |
download | aerc-33f2d4f9ee132e979ad5f92284d87e6e2a56426d.tar.gz |
Show unsupported mimetype message in red
-rw-r--r-- | widgets/msgviewer.go | 2 |
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 } |