]> granicus.if.org Git - mutt/commit
Set COLUMNS to MuttIndexWindow->cols in mutt_create_filter_fd. (closes #3837)
authorKevin McCarthy <kevin@8t8.us>
Tue, 10 May 2016 16:42:27 +0000 (09:42 -0700)
committerKevin McCarthy <kevin@8t8.us>
Tue, 10 May 2016 16:42:27 +0000 (09:42 -0700)
commit3758d8741e3b26828ac023882a8f08c5243551c4
treebef71a3242f69e4054d3f64e1fc16ffc7deaa1b4
parent1286a0865ca01a2542631884195fb1e767a23634
Set COLUMNS to MuttIndexWindow->cols in mutt_create_filter_fd. (closes #3837)

This allows filters to automatically (or via a command line argument)
adjust to the width of the pager/index.  This is even more important
with the sidebar, since the width of the pager is smaller than the
terminal width.

Thanks to Vincent Lefèvre for his helpful information and suggestions,
and to Richard Russon for the initial patches.
doc/manual.xml.head
filter.c