sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit ce8d41af569f94b9992fb9fe866e94dc8d5d8da5
parent 003e2a1ae9e14921da8610c487a1f2b62c255604
Author: Eric Sherman <hyperbolist@gmail.com>
Date:   Thu, 31 Dec 2009 11:44:17 -0500

added colorized dates in thread-index-mode

Diffstat:
M lib/sup/colormap.rb | 1 +
M lib/sup/modes/thread-index-mode.rb | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/sup/colormap.rb b/lib/sup/colormap.rb
@@ -50,6 +50,7 @@ class Colormap
     :system_buf => { :fg => "blue", :bg => "default" },
     :regular_buf => { :fg => "white", :bg => "default" },
     :modified_buffer => { :fg => "yellow", :bg => "default", :attrs => ["bold"] },
+    :date => { :fg => "white", :bg => "default"},
   }
   
   def initialize
diff --git a/lib/sup/modes/thread-index-mode.rb b/lib/sup/modes/thread-index-mode.rb
@@ -843,7 +843,7 @@ protected
 
     [ 
       [:tagged_color, @tags.tagged?(t) ? ">" : " "],
-      [:none, sprintf("%#{@date_width}s", date)],
+      [:date_color, sprintf("%#{@date_width}s", date)],
       (starred ? [:starred_color, "*"] : [:none, " "]),
     ] +
       from +