summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/test.c8
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";
}
/****************************************************************************