Skip to content

Commit

Permalink
use same stream in waypt_status_disp & termination in waypt_disp_sess…
Browse files Browse the repository at this point in the history
…ion.

stderr is a text stream which should translate '\n' -> '\r\n' on windows
automatically.
  • Loading branch information
tsteven4 committed Nov 7, 2024
1 parent ddbe287 commit 783ce61
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,9 @@ WaypointList::waypt_disp_session(const session_t* se, T cb)
}
}
if (global_opts.verbose_status) {
fprintf(stdout, "\r\n");
// Terminate the progress line from waypt_status_disp.
fprintf(stderr, "\n");
fflush(stderr);
}
}

Expand Down

0 comments on commit 783ce61

Please sign in to comment.