# include "config.h"
#endif
-#include <lib-lib/mem.h>
-#include <lib-lib/str.h>
-#include <lib-lib/macros.h>
-#include <lib-lib/file.h>
-
-#include "curses.h"
-#include "menu.h"
-#include "enter.h"
-
-#include "mutt.h"
-#include "pager.h"
-#include "mbyte.h"
-
-#include "lib/debug.h"
-
#include <wchar.h>
#include <termios.h>
#include <sys/types.h>
#include <langinfo.h>
#endif
+#include <lib-lib/mem.h>
+#include <lib-lib/str.h>
+#include <lib-lib/macros.h>
+#include <lib-lib/file.h>
+#include <lib-lib/debug.h>
+
+#include "curses.h"
+#include "menu.h"
+#include "enter.h"
+
+#include "mutt.h"
+#include "pager.h"
+#include "mbyte.h"
+
/* not possible to unget more than one char under some curses libs, and it
* is impossible to unget function keys in SLang, so roll our own input
* buffering routines.
SigInt = 0;
mutt_allow_interrupt (1);
-#ifdef KEY_RESIZE
- /* ncurses 4.2 sends this when the screen is resized */
- ch = KEY_RESIZE;
- while (ch == KEY_RESIZE)
-#endif /* KEY_RESIZE */
- ch = getch ();
+ ch = getch ();
mutt_allow_interrupt (0);
if (SigInt)