[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sup-devel] [PATCH 2/3] send color errors to the log instead of flashing



During startup, when these errors are most likely to occur, not enough buffer
initialization has been done for BufferManager.flash to work.
---
 lib/sup/colormap.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/sup/colormap.rb b/lib/sup/colormap.rb
index 71c715f..d28c550 100644
--- a/lib/sup/colormap.rb
+++ b/lib/sup/colormap.rb
@@ -213,7 +213,7 @@ class Colormap
       add symbol, fg, bg, attrs
     end
 
-    BufferManager.flash error if error
+    warn error if error
   end
 
   def self.instance; @@instance; end
-- 
1.6.3.3

_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel