sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit c1287552406e1dd78cc866af48439ccc883888a4
parent 212db84604b43ae194afbf6934c6d93c2ab35b63
Author: William Morgan <wmorgan-sup@masanjin.net>
Date:   Mon, 23 Mar 2009 08:33:24 -0700

foreground colors should stay "black", not "default"

Whoops. The previous change was overbroad. Background colors that were "black"
should now be "default", but foreground "black" should stay "black".

Diffstat:
M lib/sup/colormap.rb | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/sup/colormap.rb b/lib/sup/colormap.rb
@@ -23,9 +23,9 @@ class Colormap
     :labellist_new => { :fg => "white", :bg => "default", :attrs => ["bold"] },
     :twiddle => { :fg => "blue", :bg => "default" },
     :label => { :fg => "yellow", :bg => "default" },
-    :message_patina => { :fg => "default", :bg => "green" },
-    :alternate_patina => { :fg => "default", :bg => "blue" },
-    :missing_message => { :fg => "default", :bg => "red" },
+    :message_patina => { :fg => "black", :bg => "green" },
+    :alternate_patina => { :fg => "black", :bg => "blue" },
+    :missing_message => { :fg => "black", :bg => "red" },
     :attachment => { :fg => "cyan", :bg => "default" },
     :cryptosig_valid => { :fg => "yellow", :bg => "default", :attrs => ["bold"] },
     :cryptosig_unknown => { :fg => "cyan", :bg => "default" },
@@ -46,7 +46,7 @@ class Colormap
     :completion_character => { :fg => "white", :bg => "default", :attrs => ["bold"] },
     :horizontal_selector_selected => { :fg => "yellow", :bg => "default", :attrs => ["bold"] },
     :horizontal_selector_unselected => { :fg => "cyan", :bg => "default" },
-    :search_highlight => { :fg => "default", :bg => "yellow", :attrs => ["bold"] }
+    :search_highlight => { :fg => "black", :bg => "yellow", :attrs => ["bold"] }
   }
   
   def initialize