X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-ui%2Fcurs_main.c;h=26bb9627373156092e18be509f44f5c7686c2db1;hb=5d5711494f7df152a993edddae5cbec045440c56;hp=6fdbc163bf46eedce2b6170be147588935d8f35b;hpb=cfd5f411041c7ef44087b032751792fadc74586d;p=apps%2Fmadmutt.git diff --git a/lib-ui/curs_main.c b/lib-ui/curs_main.c index 6fdbc16..26bb962 100644 --- a/lib-ui/curs_main.c +++ b/lib-ui/curs_main.c @@ -11,8 +11,6 @@ */ #include - -#include #include #include "pop.h" @@ -549,13 +547,13 @@ int mutt_index_menu (void) tag = 1; /* give visual indication that the next command is a tag- command */ - mvwaddstr (main_w, LINES - 1, 0, "tag-"); - wclrtoeol (main_w); + mvwaddstr (stdscr, LINES - 1, 0, "tag-"); + wclrtoeol (stdscr); /* get the real command */ if ((op = km_dokey (MENU_MAIN)) == OP_TAG_PREFIX) { /* abort tag sequence */ - CLEARLINE(main_w, LINES - 1); + CLEARLINE(stdscr, LINES - 1); continue; } } @@ -584,13 +582,13 @@ int mutt_index_menu (void) tag = 1; /* give visual indication that the next command is a tag- command */ - mvwaddstr (main_w, LINES - 1, 0, "tag-"); - wclrtoeol (main_w); + mvwaddstr (stdscr, LINES - 1, 0, "tag-"); + wclrtoeol (stdscr); /* get the real command */ if ((op = km_dokey (MENU_MAIN)) == OP_TAG_PREFIX) { /* abort tag sequence */ - CLEARLINE(main_w, LINES - 1); + CLEARLINE(stdscr, LINES - 1); continue; } } @@ -1953,10 +1951,6 @@ int mutt_index_menu (void) case OP_END_COND: break; - case OP_WHAT_KEY: - mutt_what_key (); - break; - case OP_SIDEBAR_SCROLL_UP: case OP_SIDEBAR_SCROLL_DOWN: case OP_SIDEBAR_NEXT: