OP_NEXT_LINE "scroll down one line"
OP_NEXT_PAGE "move to the next page"
OP_PAGER_BOTTOM "jump to the bottom of the message"
-OP_PAGER_EXIT "return to the main-menu"
OP_PAGER_HIDE_QUOTED "toggle display of quoted text"
OP_PAGER_SKIP_QUOTED "skip beyond quoted text"
OP_PAGER_TOP "jump to the top of the message"
{ "flag-message", OP_FLAG_MESSAGE, "F" },
{ "group-reply", OP_GROUP_REPLY, "g" },
{ "display-toggle-weed", OP_DISPLAY_HEADERS, "h" },
- { "exit", OP_PAGER_EXIT, "i" },
+ { "exit", OP_EXIT, "i" },
{ "next-undeleted", OP_MAIN_NEXT_UNDELETED, "j" },
{ "next-entry", OP_NEXT_ENTRY, "J" },
{ "previous-undeleted",OP_MAIN_PREV_UNDELETED, "k" },
km_bindkey ("<enter>", MENU_MAIN, OP_DISPLAY_MESSAGE);
- km_bindkey ("x", MENU_PAGER, OP_PAGER_EXIT);
- km_bindkey ("q", MENU_PAGER, OP_PAGER_EXIT);
+ km_bindkey ("x", MENU_PAGER, OP_EXIT);
+ km_bindkey ("q", MENU_PAGER, OP_EXIT);
km_bindkey ("<backspace>", MENU_PAGER, OP_PREV_LINE);
km_bindkey ("<pagedown>", MENU_PAGER, OP_NEXT_PAGE);
km_bindkey ("<pageup>", MENU_PAGER, OP_PREV_PAGE);
}
static struct mapping_t PagerHelp[] = {
- { N_("Exit"), OP_PAGER_EXIT },
- { N_("PrevPg"), OP_PREV_PAGE },
+ { N_("Exit"), OP_EXIT },
+ { N_("PrevPg"), OP_PREV_PAGE },
{ N_("NextPg"), OP_NEXT_PAGE },
{ NULL, 0 }
};
static struct mapping_t PagerHelpExtra[] = {
- { N_("View Attachm."), OP_VIEW_ATTACHMENTS },
- { N_("Del"), OP_DELETE },
- { N_("Reply"), OP_REPLY },
+ { N_("View Attachm."), OP_VIEW_ATTACHMENTS },
+ { N_("Del"), OP_DELETE },
+ { N_("Reply"), OP_REPLY },
{ N_("Next"), OP_MAIN_NEXT_UNDELETED },
{ NULL, 0 }
};
switch (ch)
{
- case OP_PAGER_EXIT:
+ case OP_EXIT:
rc = -1;
ch = -1;
break;