Show unsupported mimetype message in red
This commit is contained in:
parent
d224487b68
commit
33f2d4f9ee
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue