summaryrefslogtreecommitdiffstats
path: root/curs_lib.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2017-04-05 16:09:37 -0700
committerKevin McCarthy <kevin@8t8.us>2017-04-05 16:09:37 -0700
commitc0b6d917a7d8955a40ec0f4b811fc0e67504af96 (patch)
tree7b032d4e5b6bc6d08d2ca9293de5b4b51264db30 /curs_lib.c
parent8b9f371d4242ca0976a3bfc6f6053960be3cdc1d (diff)
Separate out the pager menu redrawing. (see #3877)
The pager relies on REDRAW_SIGWINCH, so add that to _mutt_get_field().
Diffstat (limited to 'curs_lib.c')
-rw-r--r--curs_lib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/curs_lib.c b/curs_lib.c
index 3600ed82..01ad8ec5 100644
--- a/curs_lib.c
+++ b/curs_lib.c
@@ -166,6 +166,9 @@ int _mutt_get_field (const char *field, char *buf, size_t buflen, int complete,
{
SigWinch = 0;
mutt_resize_screen ();
+ /* mutt_resize_screen sets REDRAW_FULL, but the pager also
+ * requires SIGWINCH. */
+ mutt_set_current_menu_redraw (REDRAW_SIGWINCH);
clearok(stdscr, TRUE);
mutt_current_menu_redraw ();
}