]> git.notmuchmail.org Git - notmuch/commitdiff
notmuch setup: Print a few protecting spaces after progress reports.
authorCarl Worth <cworth@cworth.org>
Wed, 21 Oct 2009 07:32:30 +0000 (00:32 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 21 Oct 2009 07:32:30 +0000 (00:32 -0700)
This is to help keep the report looking clean when a new report
is shorter than a previous reports, (say, when crossing the
boundary from over one minute remaining to less than one minute
remaining).

This used to be here, but I must have accidentally dropped it
when reformatting the progress report recently.

notmuch.c

index 6be2881c2227a1e67d407f69c43506417ced140f..a93df8235f605dc55160fe3a57ef963ac82271f7 100644 (file)
--- a/notmuch.c
+++ b/notmuch.c
@@ -99,7 +99,7 @@ add_files_print_progress (add_files_state_t *state)
            state->count, state->total_messages);
     print_formatted_seconds ((state->total_messages - state->count) /
                             rate_overall);
-    printf (" remaining).\r");
+    printf (" remaining).      \r");
 
     fflush (stdout);
 }