From 0e0e5562b00e7007951eb77fab24c692cf562908 Mon Sep 17 00:00:00 2001 From: William Morgan Date: Wed, 20 May 2009 11:47:54 -0700 Subject: [PATCH] bugfix: use 64 colors, not 16 --- lib/sup/colormap.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sup/colormap.rb b/lib/sup/colormap.rb index fe60f61..38787cd 100644 --- 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"] }, -- 2.45.2