X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-ui%2Fcurs_lib.c;h=3a59d649d81c042e6a1dc1366f5446af8772f36c;hb=10e80e482eff3762b0b8d41b0c7795b76704479c;hp=e618301b377bfb89c108c0f9d797a14052394333;hpb=ecfcc6df70230ba136c2fb3843700ecb749c41b7;p=apps%2Fmadmutt.git diff --git a/lib-ui/curs_lib.c b/lib-ui/curs_lib.c index e618301..3a59d64 100644 --- a/lib-ui/curs_lib.c +++ b/lib-ui/curs_lib.c @@ -15,22 +15,8 @@ # include "config.h" #endif -#include -#include -#include -#include - -#include -#include - -#include "mutt.h" -#include "mutt_menu.h" -#include "pager.h" -#include "mbyte.h" - -#include "lib/debug.h" - #include +#include #include #include #include @@ -44,6 +30,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 "charset.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 +93,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)