X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-ui%2Fcurses.h;h=cab58afe76c2b634d969f3aeb241e585796d1855;hp=9df89bedc86a505d22d24ef5b8460a315c9bc333;hb=6920eb5798f2d9f25e5ea1af2ba86122cf408bd1;hpb=4a2f9b3cc151e0cebc27d46857a5d803cca35d61 diff --git a/lib-ui/curses.h b/lib-ui/curses.h index 9df89be..cab58af 100644 --- a/lib-ui/curses.h +++ b/lib-ui/curses.h @@ -74,6 +74,17 @@ enum { MT_COLOR_MAX }; +/* flags for mutt_get_field() */ +#define M_ALIAS (1<<0) /* do alias "completion" by calling up the alias-menu */ +#define M_FILE (1<<1) /* do file completion */ +#define M_EFILE (1<<2) /* do file completion, plus incoming folders */ +#define M_CMD (1<<3) /* do completion on previous word */ +#define M_PASS (1<<4) /* password mode (no echo) */ +#define M_CLEAR (1<<5) /* clear input if printable character is pressed */ +#define M_COMMAND (1<<6) /* do command completion */ +#define M_PATTERN (1<<7) /* pattern mode - only used for history classes */ +#define M_LASTFOLDER (1<<8) /* last-folder mode - hack hack hack */ + typedef struct color_line { regex_t rx; char *pattern;