On Mon, Jun 20, 2022 at 07:40:17PM +0200, Andy Spiegl wrote:
The copiousoutput flag could be making a difference here.  That will cause
Mutt to render the output of the command internally, which by default will
strip all ansi output.
Even if I set "allow_ansi"?

With $allow_ansi, Mutt will interpret ansi sequences _it understands_ and convert them to curses calls. I don't currently have viu available to play with, but perhaps it's emitting sequences Mutt doesn't understand.

I've tested against chafa in the past:
 image/*; chafa -c 240 -w 9 -s ${COLUMNS-80} -- %s ; copiousoutput
so you might try that too.

However, if this also happens with a regular mailcap invocation (using <view-mailcap> and an entry without the copiousflag setting), then something else may be going on.

--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA

Attachment: signature.asc
Description: PGP signature

Reply via email to