diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2020-12-18 21:31:15 +0100 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2020-12-18 21:31:15 +0100 |
commit | 26dfafdb6c7411b0e6f3269cf1aa368bdc53a9ff (patch) | |
tree | 89099505b29b0ff40b17a025482ec70c390398aa /src | |
parent | b49b516d23c76080bfd724b655f190020b6bb701 (diff) | |
download | polecat-26dfafdb6c7411b0e6f3269cf1aa368bdc53a9ff.tar.gz polecat-26dfafdb6c7411b0e6f3269cf1aa368bdc53a9ff.zip |
move carriage return to start, remove spaces
keeping it at the end makes the cursor always appear right on the first character which looks kind of ugly
Diffstat (limited to 'src')
-rw-r--r-- | src/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -46,7 +46,7 @@ static int xferinfo(void *p, curl_off_t dltotal, curl_off_t dlnow, UNUSED curl_o if (dltotal != 0) progress = ((float)dlnow / dltotal) * 100; - fprintf(stderr, "Progress: %3" CURL_FORMAT_CURL_OFF_T "%% \r", progress); + fprintf(stderr, "\rProgress: %3" CURL_FORMAT_CURL_OFF_T "%%", progress); return 0; } |