]> granicus.if.org Git - mutt/commitdiff
Make sure that the redrawing/reinitializing is done always, not only
authorMoritz Schulte <moritz@g10code.com>
Thu, 29 May 2008 05:16:34 +0000 (22:16 -0700)
committerMoritz Schulte <moritz@g10code.com>
Thu, 29 May 2008 05:16:34 +0000 (22:16 -0700)
when the environment variable DISPLAY is not set.

curs_lib.c

index 42a82915f1a431de658eee8835be9d0a205b875c..6de02c20cf118d41d9158839344dfbe6c357ba3e 100644 (file)
@@ -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)