mutt_set_current_menu_redraw_full ();
/* the pager menu needs this flag set to recalc lineInfo */
- mutt_set_current_menu_redraw (REDRAW_SIGWINCH);
+ mutt_set_current_menu_redraw (REDRAW_FLOW);
}
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
+ /* We don't also set REDRAW_FLOW because this function only
* changes rows and is a temporary adjustment. */
mutt_set_current_menu_redraw_full ();
}
#define REDRAW_STATUS (1<<4)
#define REDRAW_FULL (1<<5)
#define REDRAW_BODY (1<<6)
-#define REDRAW_SIGWINCH (1<<7)
+#define REDRAW_FLOW (1<<7) /* Used by pager to reflow text */
#ifdef USE_SIDEBAR
#define REDRAW_SIDEBAR (1<<8)
#endif
rd->SearchBack = Resize->SearchBack;
}
rd->lines = Resize->line;
- pager_menu->redraw |= REDRAW_SIGWINCH;
+ pager_menu->redraw |= REDRAW_FLOW;
FREE (&Resize);
}
mutt_show_error ();
}
- if (pager_menu->redraw & REDRAW_SIGWINCH)
+ if (pager_menu->redraw & REDRAW_FLOW)
{
if (!(rd->flags & MUTT_PAGER_RETWINCH))
{
else
{
/* note: mutt_resize_screen() -> mutt_reflow_windows() sets
- * REDRAW_FULL and REDRAW_SIGWINCH */
+ * REDRAW_FULL and REDRAW_FLOW */
ch = 0;
}
continue;