]> diplodocus.org Git - minc/commitdiff
(filter_mail): Need to print a \r before printing the status line,
authorepg <>
Mon, 5 Sep 2005 07:33:52 +0000 (07:33 +0000)
committerepg <>
Mon, 5 Sep 2005 07:33:52 +0000 (07:33 +0000)
as nothing is printed for spam messages, so these would just stack
up on the same line with two or more spams in a row.

minc

diff --git a/minc b/minc
index d2a85da..6776cd2 100755 (executable)
--- a/minc
+++ b/minc
@@ -601,6 +601,7 @@ sub filter_mail {
             $hook->(\%batons, \%headers, $mhfolder, $msgnum);
         }
 
             $hook->(\%batons, \%headers, $mhfolder, $msgnum);
         }
 
+        print("\r");
         printf(" \%${len}d SPAM \%${len}d saved \%${len}d/%1d",
                $spam, $saved, $spam + $saved, $msgcount);
 
         printf(" \%${len}d SPAM \%${len}d saved \%${len}d/%1d",
                $spam, $saved, $spam + $saved, $msgcount);