On Fri, Oct 06, 2017 at 04:41:34AM -0700, Claus Assmann wrote: > I hacked an old mutt version to have a blank line between > the status (on top) and the list of mails, e.g., it looks > like this: > > Mbox: =admin (-) [[rest of status line]] > > 214 2016 Mar 01 Charlie Root ( 33) esmtp.org daily insecurity output > 215 2016 Mar 01 Cron Daemon ( 21) Cron <root> mailq > > > How to get that blank line between the status and the rest in new > mutt versions? My hack doesn't apply anymore when the code was > changed for the sidebar stuff :-( > > Is there an option/trick or does it require a source code change? > In the latter case: does someone have a patch? I tried but so > far failed to hack the new code :-(
You could try the following patch. Unfortunately, it will affect other screens besides the index. I can't remember off the top of my head if any places make assumptions that the status has one row, but a very quick check seemed to be okay. -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
# HG changeset patch # User Kevin McCarthy <[email protected]> # Date 1507460859 -28800 # Sun Oct 08 19:07:39 2017 +0800 # Node ID 57c3a7afe0cf478f298fe28e9ef1d2f4085cbd9a # Parent ba4a3cb944c59ca53adfc3f99cf67dc2c22d7b6a [mq]: hack diff --git a/curs_lib.c b/curs_lib.c --- a/curs_lib.c +++ b/curs_lib.c @@ -570,17 +570,17 @@ void mutt_reflow_windows (void) { if (option (OPTNOCURSES)) return; dprint (2, (debugfile, "In mutt_reflow_windows\n")); - MuttStatusWindow->rows = 1; + MuttStatusWindow->rows = 2; MuttStatusWindow->cols = COLS; MuttStatusWindow->row_offset = option (OPTSTATUSONTOP) ? 0 : LINES - 2; MuttStatusWindow->col_offset = 0; memcpy (MuttHelpWindow, MuttStatusWindow, sizeof (mutt_window_t)); if (! option (OPTHELP)) MuttHelpWindow->rows = 0; else
signature.asc
Description: PGP signature
