/* 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__)
}
#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";
}
/****************************************************************************