projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Final simplifications of the sidebar module.
[apps/madmutt.git]
/
lib-ui
/
layout.c
diff --git
a/lib-ui/layout.c
b/lib-ui/layout.c
index
bb7abc3
..
7b46036
100644
(file)
--- a/
lib-ui/layout.c
+++ b/
lib-ui/layout.c
@@
-41,15
+41,16
@@
void mutt_need_hard_redraw(void)
void mutt_refresh(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;
/* 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;
/* don't refresh in the middle of macros unless necessary */
if (UngetCount && !option(OPTFORCEREFRESH))
return;
-#endif
/* else */
wrefresh(stdscr);
/* else */
wrefresh(stdscr);