aboutsummaryrefslogtreecommitdiffstats
path: root/commands/completion_helpers.go
diff options
context:
space:
mode:
authorJason Cox <me@jasoncarloscox.com>2024-01-25 08:25:51 -0500
committerRobin Jarry <robin@jarry.cc>2024-01-26 21:36:15 +0100
commit11b035f120969758d1b08dddd761f9375504de55 (patch)
treebf028d7155ceb45deba3461cb73ed74413f3d965 /commands/completion_helpers.go
parent0aab8ac318f6dee479afba13d09a5d1d1c0baa91 (diff)
downloadaerc-11b035f120969758d1b08dddd761f9375504de55.tar.gz
flags: add support for draft flag
Support the draft flag wherever flags are used. Automatically set it when postponing a message, and allow recalling a message without the -f flag if it has the draft flag set, regardless of what folder it's in. Notmuch doesn't seem to pick up on the draft flag when indexing even though the flag is set on the maildir file. Explicitly set all tags corresponding to set flags when appending a message in notmuch. Changelog-added: Support the `draft` flag. Signed-off-by: Jason Cox <me@jasoncarloscox.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'commands/completion_helpers.go')
-rw-r--r--commands/completion_helpers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/completion_helpers.go b/commands/completion_helpers.go
index e4556594..b7ba6780 100644
--- a/commands/completion_helpers.go
+++ b/commands/completion_helpers.go
@@ -45,7 +45,7 @@ func GetAddress(search string) []string {
// GetFlagList returns a list of available flags for completion
func GetFlagList() []string {
- return []string{"Seen", "Answered", "Flagged"}
+ return []string{"Seen", "Answered", "Flagged", "Draft"}
}
// GetDateList returns a list of date terms for completion