diff options
author | Kevin McCarthy <kevin@8t8.us> | 2017-03-26 18:31:39 -0700 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2017-03-26 18:31:39 -0700 |
commit | e0634939199b13b97d321697a8307df710c2fe4f (patch) | |
tree | bac86e7678474dcf57a61a17e4c88bdf97488f50 /addrbook.c | |
parent | 26331cb7d71444f2a870dfa0dc3a6f33f946b5e8 (diff) |
Add a menu stack to track current and past menus.
Change the pager to use a MENU, right now just to hold the refresh
state.
Diffstat (limited to 'addrbook.c')
-rw-r--r-- | addrbook.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -154,6 +154,7 @@ void mutt_alias_menu (char *buf, size_t buflen, ALIAS *aliases) menu->tag = alias_tag; menu->title = _("Aliases"); menu->help = mutt_compile_help (helpstr, sizeof (helpstr), MENU_ALIAS, AliasHelp); + mutt_push_current_menu (menu); new_aliases: @@ -237,6 +238,7 @@ new_aliases: rfc822_write_address (buf, buflen, AliasTable[t]->addr, 1); } + mutt_pop_current_menu (menu); mutt_menuDestroy (&menu); FREE (&AliasTable); |