Always resort, redraw, ... whatever when we change settings.
[apps/madmutt.git] / muttlib.c
index bf59e68..b34cede 100644 (file)
--- a/muttlib.c
+++ b/muttlib.c
@@ -13,7 +13,7 @@
 #include <grp.h>
 #include <pwd.h>
 
-#include <lib-ui/curses.h>
+#include <lib-ui/lib-ui.h>
 #include <lib-ui/enter.h>
 #include <lib-sys/unix.h>
 #include <imap/imap.h>
@@ -358,7 +358,7 @@ int mutt_save_confirm (const char *s, struct stat *st)
     }
   }
 
-  CLEARLINE (LINES - 1);
+  CLEARLINE(main_w, LINES - 1);
   return (ret);
 }