summaryrefslogtreecommitdiffstats
path: root/curs_lib.c
diff options
context:
space:
mode:
authorMoritz Schulte <moritz@g10code.com>2008-05-28 22:16:34 -0700
committerMoritz Schulte <moritz@g10code.com>2008-05-28 22:16:34 -0700
commit39577defdb76786bcb68687464b2791c57f6f8d2 (patch)
tree48e9853ac1e2a3d614e5f114713f039a66dd7e42 /curs_lib.c
parenteba5149c3a6443d9e89c0d4c5326908455a03aa7 (diff)
Make sure that the redrawing/reinitializing is done always, not only
when the environment variable DISPLAY is not set.
Diffstat (limited to 'curs_lib.c')
-rw-r--r--curs_lib.c9
1 files 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)