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 c9b2e91..c16b6cf 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");
        }