From ae99f4c5bb5af3b69410e2336c9f8204cda1d568 Mon Sep 17 00:00:00 2001 From: Koni Marti Date: Thu, 20 Oct 2022 16:43:45 +0200 Subject: msglist: display reversed thread ordering Reverse the ordering of the message threads. Implements: https://todo.sr.ht/~rjarry/aerc/54 Signed-off-by: Koni Marti Acked-by: Robin Jarry --- widgets/dirtree.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets/dirtree.go') diff --git a/widgets/dirtree.go b/widgets/dirtree.go index 68ff32f0..3e419d47 100644 --- a/widgets/dirtree.go +++ b/widgets/dirtree.go @@ -249,7 +249,7 @@ func (dt *DirectoryTree) countVisible(list []*types.Thread) (n int) { func (dt *DirectoryTree) displayText(node *types.Thread) string { elems := strings.Split(dt.treeDirs[getAnyUid(node)], dt.pathSeparator) - return fmt.Sprintf("%s%s%s", threadPrefix(node), getFlag(node), elems[countLevels(node)]) + return fmt.Sprintf("%s%s%s", threadPrefix(node, false), getFlag(node), elems[countLevels(node)]) } func (dt *DirectoryTree) getDirectory(node *types.Thread) string { -- cgit