sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 7ddf4af69cca083658baeffb0b77a46fa65975d1
parent 69e686de86f13f76d32c18bfe857869ab0a96152
Author: Markus Klinik <markus.klinik@gmx.de>
Date:   Sat,  8 Mar 2014 22:35:27 +0100

contact-list-mode: use sup default color instead of terminal default

Addendum to https://github.com/sup-heliotrope/sup/issues/77
I found another place where sup uses the terminal default color instead
of the default text color: the contact list. With this patch, the
contact list uses colors from the colorscheme.

Diffstat:
M lib/sup/modes/contact_list_mode.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/modes/contact_list_mode.rb b/lib/sup/modes/contact_list_mode.rb
@@ -130,7 +130,7 @@ protected
   def text_for_contact p
     aalias = ContactManager.alias_for(p) || ""
     [[:tagged_color, @tags.tagged?(p) ? ">" : " "],
-     [:none, sprintf("%-#{@awidth}s %-#{@nwidth}s %s", aalias, p.name, p.email)]]
+     [:text_color, sprintf("%-#{@awidth}s %-#{@nwidth}s %s", aalias, p.name, p.email)]]
   end
 
   def regen_text