X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-ui%2Fcurs_lib.c;h=ee53578bde42f56290c069826b0f52b4670aed85;hb=108f3c7ab59844591f7540347914ea57be5245e2;hp=20fd3da9fc07ac42ec5f9f24b2605f74e7d07eee;hpb=4a0b020a3048f079979bea43c04f9fe388f9354d;p=apps%2Fmadmutt.git diff --git a/lib-ui/curs_lib.c b/lib-ui/curs_lib.c index 20fd3da..ee53578 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 "curses.h" -#include "menu.h" -#include "enter.h" - -#include "mutt.h" -#include "pager.h" -#include "mbyte.h" - -#include "lib/debug.h" - #include #include #include @@ -44,6 +29,23 @@ #include #endif +#include +#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 +92,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)