diff options
author | Koni Marti <koni.marti@gmail.com> | 2022-10-20 16:43:41 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-10-27 22:44:39 +0200 |
commit | c5face0b6f922781f1d2ae754c00fdee6c58af20 (patch) | |
tree | 13fd5d1026319f36921be6776b13ae87c68f16ec /config/config.go | |
parent | c83ffabf3853e5f06294bba78dc23bc7ff84b0af (diff) | |
download | aerc-c5face0b6f922781f1d2ae754c00fdee6c58af20.tar.gz |
store: reverse message list order with iterators
Reverse the order of the messages in the message list. The complexity of
reversing the order is abstracted away by the iterators. To reverse the
message list, add the following to your aerc.conf:
[ui]
reverse-msglist-order=true
Thanks to |cos| for sharing his initial implementation of reversing the
order in the message list [0].
[0]: https://git.netizen.se/aerc/commit/?h=topic/asc_sort_imap
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'config/config.go')
-rw-r--r-- | config/config.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/config.go b/config/config.go index 8b8d9d21..8eb40070 100644 --- a/config/config.go +++ b/config/config.go @@ -78,6 +78,8 @@ type UIConfig struct { // customize border appearance BorderCharVertical rune `ini:"-"` BorderCharHorizontal rune `ini:"-"` + + ReverseOrder bool `ini:"reverse-msglist-order"` } type ContextType int |