X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-ui%2Fcurs_lib.c;h=56e796b996520c8bb0324c34bdd66ea06baed692;hp=aaaf3ce25eb64622e4b5d14859ec1b47f8d9c0bc;hb=dbacadf0ce81052365d7a43373ac7d4ac67ff91e;hpb=dbb9a1e16d03a2d4664d6dc6a30c721b889d4982 diff --git a/lib-ui/curs_lib.c b/lib-ui/curs_lib.c index aaaf3ce..56e796b 100644 --- a/lib-ui/curs_lib.c +++ b/lib-ui/curs_lib.c @@ -15,21 +15,6 @@ # include "config.h" #endif -#include -#include -#include -#include - -#include - -#include "mutt.h" -#include "enter.h" -#include "mutt_menu.h" -#include "pager.h" -#include "mbyte.h" - -#include "lib/debug.h" - #include #include #include @@ -44,6 +29,22 @@ #include #endif +#include +#include +#include +#include +#include + +#include + +#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. @@ -90,12 +91,7 @@ event_t mutt_getch (void) 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)