diff options
author | Bradley Sepos <[email protected]> | 2017-12-24 17:19:09 -0500 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2017-12-24 17:19:52 -0500 |
commit | 6eb3ef1ac8dad4a1e1d2cf1b1ba8e67a3f8b4a23 (patch) | |
tree | 9e96b0f73973bbfe54b2a25a1409db662efe21a9 | |
parent | 007b063acdb1a63a4a4b8e186be835e8132580d4 (diff) |
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.
-rw-r--r-- | test/test.c | 8 |
1 files 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"; } /**************************************************************************** |