From 90d26da58a4af2d34328f5916adf3781222966c6 Mon Sep 17 00:00:00 2001 From: Jeffas Date: Thu, 19 Sep 2019 23:37:44 +0100 Subject: Add sorting functionality There is a command and config option. The criteria are a list of the sort criterion and each can be individually reversed. This only includes support for sorting in the maildir backend currently. The other backends are not supported in this patch. --- config/config.go | 1 + 1 file changed, 1 insertion(+) (limited to 'config') diff --git a/config/config.go b/config/config.go index eeaf937..5a41903 100644 --- a/config/config.go +++ b/config/config.go @@ -36,6 +36,7 @@ type UIConfig struct { Spinner string `ini:"spinner"` SpinnerDelimiter string `ini:"spinner-delimiter"` DirListFormat string `ini:"dirlist-format"` + Sort []string `delim:" "` } const ( -- cgit v1.2.3