~rjarry/aerc#250: 
allow disabling pager in filter

This implies that the user is going to provide an alternative pager for that particular mimetype. It is indicated by adding a pipe before the mimetype in filters (ignore any whitespace)

Rationale: | text/html = w3m -sixel for viewing html with images.

snippets from IRC discussion without context

if strings.HasPrefix("|") {
s = strings.TrimLeft("| ")

_, s, prefixed := strings.Cut(str, "| ")

Note, that this does not solve viewing inline images, but is a prerequisite.

Status
REPORTED
Submitter
~ferdinandyb
Assigned to
No-one
Submitted
2 months ago
Updated
2 months ago
Labels
feature