summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ideviceinstaller.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c
index bb28407..2be92d3 100644
--- a/src/ideviceinstaller.c
+++ b/src/ideviceinstaller.c
@@ -107,13 +107,13 @@ static void status_cb(const char *operation, plist_t status)
}
if (!nerror) {
if (last_status && (strcmp(last_status, status_msg))) {
- printf("\n");
+ printf("\r");
}
if (!npercent) {
printf("%s - %s\n", operation, status_msg);
} else {
- printf("%s - %s (%d%%)\r", operation, status_msg, percent);
+ printf("%s - %s (%d%%)\n", operation, status_msg, percent);
}
} else {
char *err_msg = NULL;