sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit fb056c26e34e7f5a75947b4fefe0b514a0696170
parent ab3f5dc9a5343973f98d944025c30147b6233594
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date:   Wed, 20 Dec 2006 19:47:12 +0000

minor comment cleanup


git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@91 5c8cc53c-5e98-4d25-b20a-d8db53a31250

Diffstat:
M lib/sup/modes/scroll-mode.rb | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/sup/modes/scroll-mode.rb b/lib/sup/modes/scroll-mode.rb
@@ -87,12 +87,11 @@ protected
     when Array
       xpos = 0
       s.each do |color, text|
-        raise "nil text for color '#{color}'" if text.nil?
+        raise "nil text for color '#{color}'" if text.nil? # good for debugging
         if xpos + text.length < @leftcol
           buffer.write ln - @topline, 0, "", :color => color,
                        :highlight => opts[:highlight]
           xpos += text.length
-          ## nothing
         elsif xpos < @leftcol
           ## partial
           buffer.write ln - @topline, 0, text[(@leftcol - xpos) .. -1],