Commit 39577def authored by Moritz Schulte's avatar Moritz Schulte

Make sure that the redrawing/reinitializing is done always, not only

when the environment variable DISPLAY is not set.
parent eba5149c
...@@ -72,12 +72,9 @@ void mutt_refresh (void) ...@@ -72,12 +72,9 @@ void mutt_refresh (void)
customize this is of course the Mutt way. */ customize this is of course the Mutt way. */
void mutt_need_hard_redraw (void) void mutt_need_hard_redraw (void)
{ {
if (!getenv ("DISPLAY")) keypad (stdscr, TRUE);
{ clearok (stdscr, TRUE);
keypad (stdscr, TRUE); set_option (OPTNEEDREDRAW);
clearok (stdscr, TRUE);
set_option (OPTNEEDREDRAW);
}
} }
event_t mutt_getch (void) event_t mutt_getch (void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment