eta: skip clearing of remainder of line when starting a new line
authorSitsofe Wheeler <sitsofe@yahoo.com>
Sat, 23 Dec 2017 08:39:11 +0000 (08:39 +0000)
committerSitsofe Wheeler <sitsofe@yahoo.com>
Sun, 24 Dec 2017 23:34:39 +0000 (23:34 +0000)
Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com>
eta.c

diff --git a/eta.c b/eta.c
index c9b2e9139aea2f05c15f93a2d836da8dd5c68d5b..c16b6cf9cdd4afd09da0ce206e3dc45e5804d34a 100644 (file)
--- a/eta.c
+++ b/eta.c
@@ -531,6 +531,7 @@ void display_thread_status(struct jobs_eta *je)
 
        if (eta_new_line_pending) {
                eta_new_line_pending = 0;
+               linelen_last = 0;
                p += sprintf(p, "\n");
        }