sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit cd5e8836bfad0c1ee82b56261fd3d2cb5fd5677b
parent 9c79d3bb94a790633a1342c2ccaa10bfc406fc29
Author: Rich Lane <rlane@club.cc.cmu.edu>
Date:   Sat,  3 Apr 2010 10:06:09 -0700

strip redundant newlines from log messages

Diffstat:
M lib/sup/logger.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/logger.rb b/lib/sup/logger.rb
@@ -54,7 +54,7 @@ private
       when "error"; "ERROR: "
       else ""
     end
-    "[#{time.to_s}] #{prefix}#{msg}\n"
+    "[#{time.to_s}] #{prefix}#{msg.rstrip}\n"
   end
 
   ## actually distribute the message