#3837: [PATCH] Add width expando for external filters
--------------------------+----------------------
Reporter: flatcap | Owner: mutt-dev
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: display | Version: 1.6.0
Resolution: | Keywords: patch
--------------------------+----------------------
Comment (by kevin8t8):
I don't think the patch is quite right. The COLUMNS is set across all of
mutt, and affects all subsequent mailcap invocations (and all subsequent
forked commands).
When used on a copiousoutput entry for autoviewing, we want the width of
MuttIndexWindow->cols, but for other invocations, we don't want this set
(or if at all, to the value of COLS).
If we want to go this route, we might want to modify autoview_handler()
instead. And/or, maybe use a different environment variable like
MUTT_PAGER_COLS.
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3837#comment:7>
Mutt <http://www.mutt.org/>
The Mutt mail user agent