Show unsupported mimetype message in red

This commit is contained in:
Drew DeVault 2019-05-20 17:05:37 -04:00
parent d224487b68
commit 33f2d4f9ee
1 changed files with 1 additions and 1 deletions

View File

@ -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
}