if (C_Help)
{
SET_COLOR(MT_COLOR_STATUS);
- mutt_window_move(menu->helpwin, 0, 0);
- mutt_paddstr(menu->helpwin->cols, menu->help);
+ mutt_window_move(MuttHelpWindow, 0, 0);
+ mutt_paddstr(MuttHelpWindow->cols, menu->help);
NORMAL_COLOR;
}
menu->offset = 0;
if (ErrorBufMessage)
mutt_clear_error();
- mutt_window_mvaddstr(menu->messagewin, 0, 0, menu->prompt);
- mutt_window_clrtoeol(menu->messagewin);
+ mutt_window_mvaddstr(MuttMessageWindow, 0, 0, menu->prompt);
+ mutt_window_clrtoeol(MuttMessageWindow);
}
/**
menu->pagelen = MuttIndexWindow->rows;
menu->indexwin = MuttIndexWindow;
menu->statuswin = MuttStatusWindow;
- menu->helpwin = MuttHelpWindow;
- menu->messagewin = MuttMessageWindow;
menu->menu_color = default_color;
menu->menu_search = generic_search;
/* give visual indication that the next command is a tag- command */
if (menu->tagprefix)
{
- mutt_window_mvaddstr(menu->messagewin, 0, 0, "tag-");
- mutt_window_clrtoeol(menu->messagewin);
+ mutt_window_mvaddstr(MuttMessageWindow, 0, 0, "tag-");
+ mutt_window_clrtoeol(MuttMessageWindow);
}
menu->oldcurrent = menu->current;
if (menu->tagprefix)
{
menu->tagprefix = false;
- mutt_window_clearline(menu->messagewin, 0);
+ mutt_window_clearline(MuttMessageWindow, 0);
continue;
}
if (i < 0)
{
if (menu->tagprefix)
- mutt_window_clearline(menu->messagewin, 0);
+ mutt_window_clearline(MuttMessageWindow, 0);
continue;
}
bool is_mailbox_list : 1;
struct MuttWindow *indexwin;
struct MuttWindow *statuswin;
- struct MuttWindow *helpwin;
- struct MuttWindow *messagewin;
/* Setting dialog != NULL overrides normal menu behavior.
* In dialog mode menubar is hidden and prompt keys are checked before