This commit is contained in:
Theluyuan 2024-04-10 08:24:12 +08:00
parent 98ffb62c34
commit 1bbf4b011d

View File

@ -1165,7 +1165,7 @@ int main (int argc, char *argv[])
checked_empty = 0;
/* Progress indicator */
fprintf(stdout, "\rProgress: %d/%d - Lines: %d", i - init_frame + before_range_frame_count, range_frame_count, num_of_events);
printf("Progress: %d/%d - Lines: %d\n", i - init_frame + before_range_frame_count, range_frame_count, num_of_events);
/* If we are outside any lines, check for empty frames first */
if (!have_line)
@ -1265,7 +1265,7 @@ int main (int argc, char *argv[])
}
before_range_frame_count += i - init_frame;
fprintf(stdout, "\rProgress: %d/%d - Lines: %d", before_range_frame_count, range_frame_count, num_of_events);
printf("Progress: %d/%d - Lines: %d\n", before_range_frame_count, range_frame_count, num_of_events);
/* Add last event, if available */
if (have_line)