From 39577defdb76786bcb68687464b2791c57f6f8d2 Mon Sep 17 00:00:00 2001 From: Moritz Schulte Date: Wed, 28 May 2008 22:16:34 -0700 Subject: [PATCH] Make sure that the redrawing/reinitializing is done always, not only when the environment variable DISPLAY is not set. --- curs_lib.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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) -- 2.40.0