sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit ddee66da21dab85102fbd1b1c475eeaf83287e5d
parent 25d762eeebe5bf69f2c952ce369ba348a6d55a24
Author: William Morgan <wmorgan-sup@masanjin.net>
Date:   Mon, 13 Apr 2009 07:53:35 -0700

trivial: display attachment sizes

Diffstat:
M lib/sup/message-chunks.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/message-chunks.rb b/lib/sup/message-chunks.rb
@@ -108,7 +108,7 @@ EOS
       if expandable?
         "Attachment: #{filename} (#{lines.length} lines)"
       else
-        "Attachment: #{filename} (#{content_type})"
+        "Attachment: #{filename} (#{content_type}; #{@raw_content.size.to_human_size})"
       end
     end