X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=enter.h;h=f484f1eb33953889733214d9321434a9b4db8cad;hp=aaf677f3d466b2a9762cd16ed07ca64f1930892b;hb=6a0fbdc73204a837ec7d378eaf0e1248a982ba9d;hpb=cf69ddd650f124d3aed242285434ba2b97fb4b79 diff --git a/enter.h b/enter.h index aaf677f..f484f1e 100644 --- a/enter.h +++ b/enter.h @@ -9,6 +9,17 @@ #ifndef _MUTT_ENTER_H #define _MUTT_ENTER_H +/* flags for mutt_enter_string() */ +#define M_ALIAS 1 /* 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 { wchar_t *wbuf; size_t wbuflen;