sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 718a633c9015a4f551f6c3e1e4eb14c80899a1d3
parent 0b183440ca6279f1efbebc49ef6543186b1e14e4
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date:   Sun,  4 Mar 2007 23:05:01 +0000

bugfix in reading replies

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

Diffstat:
M lib/sup/modes/reply-mode.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/modes/reply-mode.rb b/lib/sup/modes/reply-mode.rb
@@ -119,7 +119,7 @@ protected
   def reply_body_lines m
     lines = ["Excerpts from #{@m.from.name}'s message of #{@m.date}:"] + 
       m.basic_body_lines.map { |l| "> #{l}" }
-    lines.pop while lines.last !~ /[:alpha:]/
+    lines.pop while lines.last =~ /^\s*$/
     lines
   end