diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-01-19 15:53:26 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-01-19 15:53:26 +0000 |
commit | cf660437add62d040d09678fca992a3da867d229 (patch) | |
tree | 730931d77435d6216ded66cba8f602b2d0dc34f6 | |
parent | 09127460609a1bd6a93147f2837ba7e23205851a (diff) |
patch-0.95.1.vikas.macro_function.1
-rw-r--r-- | curs_lib.c | 25 | ||||
-rw-r--r-- | keymap.c | 2 |
2 files changed, 14 insertions, 13 deletions
@@ -244,23 +244,24 @@ void mutt_show_error (void) void mutt_endwin (const char *msg) { - + if (!option (OPTNOCURSES)) + { #ifdef SLANG_CURSES - CLEARLINE (LINES - 1); - move (LINES - 1, 0) + CLEARLINE (LINES - 1); + move (LINES - 1, 0) #else - move (LINES - 1, COLS - 1); - CLEARLINE (LINES - 1); + move (LINES - 1, COLS - 1); + CLEARLINE (LINES - 1); #endif - - attrset (A_NORMAL); - mutt_refresh (); - endwin (); - + + attrset (A_NORMAL); + mutt_refresh (); + endwin (); #ifndef SLANG_CURSES - fputc ('\n', stdout); + fputc ('\n', stdout); #endif - + } + if (msg) puts (msg); } @@ -34,7 +34,6 @@ struct mapping_t Menus[] = { { "browser", MENU_FOLDER }, { "compose", MENU_COMPOSE }, { "editor", MENU_EDITOR }, - { "generic", MENU_GENERIC }, { "index", MENU_MAIN }, { "pager", MENU_PAGER }, { "postpone", MENU_POST }, @@ -48,6 +47,7 @@ struct mapping_t Menus[] = { { "query", MENU_QUERY }, + { "generic", MENU_GENERIC }, { NULL, 0 } }; |