sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit bf00a274db85879ae7541e8625ad8c85683d65f3
parent affd74834a1a2620646e9ca12ecf18f19414cda4
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date:   Fri, 14 Sep 2007 01:53:13 +0000

bugfix for rubyforge bug #13891: ctrl-g in attachment filename prompt

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

Diffstat:
M lib/sup/modes/edit-message-mode.rb | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/sup/modes/edit-message-mode.rb b/lib/sup/modes/edit-message-mode.rb
@@ -115,6 +115,7 @@ EOS
 
   def attach_file
     fn = BufferManager.ask_for_filename :attachment, "File name (enter for browser): "
+    return unless fn
     @attachments << Pathname.new(fn)
     update
   end