#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 vinc17):
BTW, {{{COLUMNS}}} is actually specified by POSIX as an environment
variable as follows:
This variable shall represent a decimal integer >0 used to indicate
the user's preferred width in column positions for the terminal screen or
window; see Section 3.103 (on page 50). If this variable is unset or null,
the implementation determines the number of columns, appropriate for the
terminal or window, in an unspecified manner. When {{{COLUMNS}}} is set,
any terminal-width information implied by {{{TERM}}} is overridden. Users
and conforming applications should not set {{{COLUMNS}}} unless they wish
to override the system selection and produce output unrelated to the
terminal characteristics.
Users should not need to set this variable in the environment unless
there is a specific reason to override the implementation’s default
behavior, such as to display data in an area arbitrarily smaller than the
terminal or window.
So, it seems exactly what we want here for the filters.
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3837#comment:17>
Mutt <http://www.mutt.org/>
The Mutt mail user agent