diff options
author | Kevin McCarthy <kevin@8t8.us> | 2020-01-28 15:51:57 -0800 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2020-02-29 19:15:09 -0800 |
commit | 4af5c934cdcff0366580f96e7bc7ac1f41721a97 (patch) | |
tree | bfc25b0a99da8d6161f319effece7298f067d8ed /mutt.h | |
parent | 9defa202e35a2445405170255c95d3682ae5b065 (diff) |
Enable backgrounding a single <mail> function.
Backgrounding exits to the index menu. Re-invoking <mail> will resume
the backgrounded session, if one exists, otherwise start a new
session.
This is just to get basic support going. Multiple background edits, a
landing page, a background compose menu list will be added next.
Diffstat (limited to 'mutt.h')
-rw-r--r-- | mutt.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -357,6 +357,11 @@ enum #define SENDDRAFTFILE (1<<11) /* Used by the -H flag */ #define SENDTOSENDER (1<<12) #define SENDGROUPCHATREPLY (1<<13) +#define SENDBACKGROUNDEDIT (1<<14) /* Allow background editing */ + +/* flags for mutt_edit_headers() */ +#define MUTT_EDIT_HEADERS_BACKGROUND 1 +#define MUTT_EDIT_HEADERS_RESUME 2 /* flags to _mutt_select_file() */ #define MUTT_SEL_BUFFY (1<<0) @@ -385,6 +390,7 @@ enum OPTAUTOSUBSCRIBE, OPTAUTOTAG, OPTBEEP, + OPTBACKGROUNDEDIT, OPTBEEPNEW, OPTBOUNCEDELIVERED, OPTCHANGEFOLDERNEXT, |