commit 7bef236860784171c43b186dfd5d3af466a9d416
parent 2fa6da2b88fb5529b68998bc20ca522dbf73ff7b
Author: Rich Lane <rlane@club.cc.cmu.edu>
Date: Sun, 3 Jan 2010 07:24:19 -0800
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.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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