From: Moritz Schulte Date: Thu, 29 May 2008 05:16:34 +0000 (-0700) Subject: Make sure that the redrawing/reinitializing is done always, not only X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=39577defdb76786bcb68687464b2791c57f6f8d2;p=mutt Make sure that the redrawing/reinitializing is done always, not only when the environment variable DISPLAY is not set. --- diff --git a/curs_lib.c b/curs_lib.c index 42a82915..6de02c20 100644 --- a/curs_lib.c +++ b/curs_lib.c @@ -72,12 +72,9 @@ void mutt_refresh (void) customize this is of course the Mutt way. */ void mutt_need_hard_redraw (void) { - if (!getenv ("DISPLAY")) - { - keypad (stdscr, TRUE); - clearok (stdscr, TRUE); - set_option (OPTNEEDREDRAW); - } + keypad (stdscr, TRUE); + clearok (stdscr, TRUE); + set_option (OPTNEEDREDRAW); } event_t mutt_getch (void)