From: Pierre Habouzit Date: Sat, 11 Aug 2007 23:41:18 +0000 (+0200) Subject: Now I know why : it causes flickering X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=f68ede9bdd47d8c705245b2a07c0b8ba1e230662;p=apps%2Fmadmutt.git Now I know why : it causes flickering Signed-off-by: Pierre Habouzit --- diff --git a/lib-ui/layout.c b/lib-ui/layout.c index bb7abc3..7b46036 100644 --- a/lib-ui/layout.c +++ b/lib-ui/layout.c @@ -41,15 +41,16 @@ void mutt_need_hard_redraw(void) void mutt_refresh(void) { + /* FIXME: UGGLY */ + extern ssize_t UngetCount; + /* don't refresh when we are waiting for a child. */ if (option(OPTKEEPQUIET)) return; -#if 0 /* MC: WHY ? */ /* don't refresh in the middle of macros unless necessary */ if (UngetCount && !option(OPTFORCEREFRESH)) return; -#endif /* else */ wrefresh(stdscr);