sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 665221eef5ca9ba0ea41fb8d380c74880b2b045d
parent 9ba739f475a917e3d0549293247d8b011037e221
Author: William Morgan <wmorgan-sup@masanjin.net>
Date:   Wed, 24 Jun 2009 09:35:15 -0400

Merge branch 'labels-before-subj'

Diffstat:
M lib/sup/modes/thread-index-mode.rb | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lib/sup/modes/thread-index-mode.rb b/lib/sup/modes/thread-index-mode.rb
@@ -842,10 +842,11 @@ protected
       [subj_color, size_widget_text],
       [:to_me_color, t.labels.member?(:attachment) ? "@" : " "],
       [:to_me_color, dp ? ">" : (p ? '+' : " ")],
-      [subj_color, t.subj + (t.subj.empty? ? "" : " ")],
     ] +
-      (t.labels - @hidden_labels).map { |label| [:label_color, "+#{label} "] } +
-      [[:snippet_color, snippet]
+      (t.labels - @hidden_labels).map { |label| [:label_color, "#{label} "] } +
+      [
+      [subj_color, t.subj + (t.subj.empty? ? "" : " ")],
+      [:snippet_color, snippet],
     ]
   end