Display the mimetype when offering to pipe or save
This commit is contained in:
parent
472c421e85
commit
ef029aa263
1 changed files with 3 additions and 1 deletions
|
@ -625,7 +625,9 @@ func (pv *PartViewer) Draw(ctx *ui.Context) {
|
|||
// TODO: Let them download it directly or something
|
||||
ctx.Fill(0, 0, ctx.Width(), ctx.Height(), ' ', tcell.StyleDefault)
|
||||
ctx.Printf(0, 0, tcell.StyleDefault.Foreground(tcell.ColorRed),
|
||||
"No filter configured for this mimetype")
|
||||
"No filter configured for this mimetype ('%s/%s')",
|
||||
pv.part.MIMEType, pv.part.MIMESubType,
|
||||
)
|
||||
ctx.Printf(0, 2, tcell.StyleDefault,
|
||||
"You can still :save the message or :pipe it to an external command")
|
||||
pv.selecter.Focus(true)
|
||||
|
|
Loading…
Reference in a new issue