changeset: 6296:302044b4ed3f
user: Michael Elkins <[email protected]>
date: Fri Feb 08 17:06:31 2013 +0000
link: http://dev.mutt.org/hg/mutt/rev/302044b4ed3f
explicitly call mutt_refresh() prior to endwin() to force a screen redraw.
[4903e80356d3] removed the call, but some environments (screen+xterm under
SuSE11/12) don't properly flush without it prior to the endwin() call
diffs (17 lines):
diff -r 2a1c5d3dd72e -r 302044b4ed3f curs_lib.c
--- a/curs_lib.c Thu Jan 31 05:06:56 2013 +0000
+++ b/curs_lib.c Fri Feb 08 17:06:31 2013 +0000
@@ -477,7 +477,13 @@
int e = errno;
if (!option (OPTNOCURSES))
+ {
+ /* at least in some situations (screen + xterm under SuSE11/12) endwin()
+ * doesn't properly flush the screen without an explicit call.
+ */
+ mutt_refresh();
endwin ();
+ }
if (msg && *msg)
{