diff options
author | Moritz Schulte <moritz@g10code.com> | 2008-05-28 22:16:34 -0700 |
---|---|---|
committer | Moritz Schulte <moritz@g10code.com> | 2008-05-28 22:16:34 -0700 |
commit | 39577defdb76786bcb68687464b2791c57f6f8d2 (patch) | |
tree | 48e9853ac1e2a3d614e5f114713f039a66dd7e42 /curs_lib.c | |
parent | eba5149c3a6443d9e89c0d4c5326908455a03aa7 (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.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -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) |