Hi Mutt developers,
I'd like to suggest a feature for Mutt: to make it possible to move the
status line to the window title.
Currently we have ts_status_format with which it is possible to control
the window title. And with the mutt_xtitle script, the status of the
index, pager and compose status lines can be copied to the window title
when that script is used in status_format, pager_format and
compose_format. It is however not possible to do this for the status
lines of the eight other modes (browser, attach, query, postpone, alias,
pgp, smime, mix). And it is also not possible to remove the status lines
when they display information that is already displayed in the window
title.
I'm not sure what would be the best way to implement that feature, but it
seems to me that the simplest possibility would be to introduce two
sub-features with two configuration variables: (1) "status_line_format",
with a default empty value, to which all status lines would be passed when
it is set (for example to "mutt_xtitle"), and (2) a boolean variable
"status_line_display", with a default value yes.
Thanks in advance!
Gregory