From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.213.13.12 with SMTP id z12cs1155335ebz; Sun, 3 Jan 2010 07:24:29 -0800 (PST) Received: by 10.224.58.166 with SMTP id g38mr10693839qah.32.1262532268541; Sun, 03 Jan 2010 07:24:28 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 31si22629887qyk.121.2010.01.03.07.24.28; Sun, 03 Jan 2010 07:24:28 -0800 (PST) Received-SPF: pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-devel-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 17CF51858282; Sun, 3 Jan 2010 10:24:26 -0500 (EST) Received: from magnesium.club.cc.cmu.edu (MAGNESIUM.CLUB.CC.cmu.edu [128.237.157.15]) by rubyforge.org (Postfix) with ESMTP id 536571858282 for ; Sun, 3 Jan 2010 10:24:23 -0500 (EST) Received: (qmail 25671 invoked from network); 3 Jan 2010 15:24:23 -0000 Received: from pion.club.cc.cmu.edu (HELO localhost.localdomain) (128.237.157.88) by magnesium.club.cc.cmu.edu with SMTP; 3 Jan 2010 15:24:23 -0000 From: Rich Lane To: sup-devel@rubyforge.org Date: Sun, 3 Jan 2010 07:24:19 -0800 Message-Id: <1262532260-18353-2-git-send-email-rlane@club.cc.cmu.edu> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: <1262532260-18353-1-git-send-email-rlane@club.cc.cmu.edu> References: <1262532260-18353-1-git-send-email-rlane@club.cc.cmu.edu> Subject: [sup-devel] [PATCH 2/3] send color errors to the log instead of flashing X-BeenThere: sup-devel@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Sup developer discussion List-Id: Sup developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-devel-bounces@rubyforge.org Errors-To: sup-devel-bounces@rubyforge.org 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