sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 0e0e5562b00e7007951eb77fab24c692cf562908
parent d66683c3375b48810d8f6ca49805943f9997c84f
Author: William Morgan <wmorgan-sup@masanjin.net>
Date:   Wed, 20 May 2009 11:47:54 -0700

bugfix: use 64 colors, not 16

Diffstat:
M lib/sup/colormap.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/colormap.rb b/lib/sup/colormap.rb
@@ -11,7 +11,7 @@ class Colormap
                    Curses::COLOR_YELLOW, Curses::COLOR_BLUE,
                    Curses::COLOR_MAGENTA, Curses::COLOR_CYAN,
                    Curses::COLOR_WHITE, Curses::COLOR_DEFAULT]
-  NUM_COLORS = 15
+  NUM_COLORS = (CURSES_COLORS.size - 1) * (CURSES_COLORS.size - 1)
 
   DEFAULT_COLORS = {
     :status => { :fg => "white", :bg => "blue", :attrs => ["bold"] },