54 if (msg_text && (msg_text[0] !=
'\0') && !
mutt_str_equal(msg_text,
"tag-"))
102 for (
int i = 0; i < menu->
max; i++)
107 else if (menu->
max != 0)
113 if ((num != 0) && c_resolve && (menu->
current < (menu->
max - 1)))
242 case OP_TAG_PREFIX_COND:
Color and attribute parsing.
@ MT_COLOR_NORMAL
Plain text.
bool cs_subset_bool(const struct ConfigSubset *sub, const char *name)
Get a boolean config item by name.
Convenience wrapper for the config headers.
Convenience wrapper for the core headers.
@ FR_SUCCESS
Valid function - successfully performed.
@ FR_ERROR
Valid function - error occurred.
void mutt_flush_macro_to_endcond(void)
Drop a macro from the input buffer.
int menu_tagging_dispatcher(struct MuttWindow *win, int op)
Perform tagging operations on the Menu - Implements function_dispatcher_t -.
#define mutt_warning(...)
#define mutt_debug(LEVEL,...)
Convenience wrapper for the gui headers.
@ LL_DEBUG1
Log at debug level 1.
void msgwin_clear_text(struct MuttWindow *win)
Clear the text in the Message Window.
void msgwin_set_text(struct MuttWindow *win, const char *text, enum ColorId color)
Set the text for the Message Window.
const char * msgwin_get_text(struct MuttWindow *win)
Get the text from the Message Window.
Convenience wrapper for the library headers.
bool mutt_str_equal(const char *a, const char *b)
Compare two strings.
#define WA_REPAINT
Redraw the contents of the Window.
#define OP_TIMEOUT
1 second with no events
#define OP_ABORT
$abort_key pressed (Ctrl-G)
void * wdata
Private data.
WindowActionFlags actions
Actions to be performed, e.g. WA_RECALC.
static int menu_other(struct Menu *menu)
Some non-tagging operation occurred.
static int menu_abort(struct Menu *menu)
User aborted an operation.
static int op_tag(struct Menu *menu, int op)
Tag the current entry.
static int op_end_cond(struct Menu *menu, int op)
End of conditional execution (noop)
static void menu_set_prefix(struct Menu *menu)
Set tag_prefix on $auto_tag.
static int op_tag_prefix_cond(struct Menu *menu, int op)
Apply next function ONLY to tagged messages.
static int op_tag_prefix(struct Menu *menu, int op)
Apply next function to tagged messages.
static int menu_timeout(struct Menu *menu)
Timeout waiting for a keypress.