From 6eb3ef1ac8dad4a1e1d2cf1b1ba8e67a3f8b4a23 Mon Sep 17 00:00:00 2001 From: Bradley Sepos Date: Sun, 24 Dec 2017 17:19:09 -0500 Subject: [PATCH] cli: Restore previous CLI progress separator. This basically reverts 7c438ad5ae81c31c660fc9a208dacd7177f54a24 and fixes #1067 for the upcoming release and until such a time as I can review further. --- test/test.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test.c b/test/test.c index f2ab5ab93..67e125ea9 100644 --- a/test/test.c +++ b/test/test.c @@ -224,8 +224,8 @@ static int show_mux_warning = 1; /* Terminal detection */ static int stdout_tty = 0; static int stderr_tty = 0; -static char * stdout_sep = "\n"; -static char * stderr_sep = "\n"; +static char * stdout_sep = "\r"; +static char * stderr_sep = "\r"; static void test_tty() { #if defined(__MINGW32__) @@ -251,8 +251,8 @@ static void test_tty() } #endif - if (stdout_tty == 1) stdout_sep = "\r"; - if (stderr_tty == 1) stderr_sep = "\r"; + #if (stdout_tty == 1) stdout_sep = "\r"; + #if (stderr_tty == 1) stderr_sep = "\r"; } /**************************************************************************** -- 2.40.0