{
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();
}
#endif
mutt_set_current_menu_redraw_full();
+ /* the pager menu needs this flag set to recalc lineInfo */
+ mutt_set_current_menu_redraw(REDRAW_SIGWINCH);
}
static void reflow_message_window_rows(int mw_rows)
MuttSidebarWindow->rows = MuttIndexWindow->rows;
#endif
+ /* We don't also set REDRAW_SIGWINCH because this function only
+ * changes rows and is a temporary adjustment. */
mutt_set_current_menu_redraw_full();
}
{
SigWinch = 0;
mutt_resize_screen();
- mutt_set_current_menu_redraw(REDRAW_SIGWINCH);
clearok(stdscr, TRUE);
mutt_current_menu_redraw();
}
}
else
{
- pager_menu->redraw = REDRAW_FULL | REDRAW_SIGWINCH;
+ /* note: mutt_resize_screen() -> mutt_reflow_windows() sets
+ * REDRAW_FULL and REDRAW_SIGWINCH */
ch = 0;
}
continue;