aboutsummaryrefslogtreecommitdiffstats
path: root/commands/account
diff options
context:
space:
mode:
authorVitaly Ovchinnikov <v@postbox.nz>2023-09-22 20:59:29 +0000
committerRobin Jarry <robin@jarry.cc>2023-10-13 00:40:53 +0200
commitd2f92473b3d8e68aad8a7f3d3b3c6c194446713c (patch)
tree1781dbf8b1af0b45e8c074ffde19b5c09f838d1a /commands/account
parent00ded54adde070723c665a1c5a589c3ee080b001 (diff)
downloadaerc-d2f92473b3d8e68aad8a7f3d3b3c6c194446713c.tar.gz
sort: new `flagged` sorting criteria
Add new `flagged` criteria to `:sort` command (and apparently to the `sort` config option). Good for moving important stuff up. Signed-off-by: Vitaly Ovchinnikov <v@postbox.nz> Reviewed-by: Koni Marti <koni.marti@gmail.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'commands/account')
-rw-r--r--commands/account/sort.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/account/sort.go b/commands/account/sort.go
index a7edd552..d9eaf16a 100644
--- a/commands/account/sort.go
+++ b/commands/account/sort.go
@@ -31,6 +31,7 @@ func (Sort) Complete(args []string) []string {
"size",
"subject",
"to",
+ "flagged",
}
if len(args) == 0 {
return supportedCriteria