Skip to content

Commit

Permalink
Auto merge of #6618 - ehuss:fix-progress-stdout, r=Eh2406
Browse files Browse the repository at this point in the history
Fix overlapping progress with stdout.

Minor issue introduced in #6615. The progress bar was not being cleared for stdout output (because Shell only does stderr).
  • Loading branch information
bors committed Feb 2, 2019
2 parents 129e762 + 00b4efe commit 4e74e2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cargo/core/compiler/job_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ impl<'a, 'cfg> JobQueue<'a, 'cfg> {
plan.update(&module_name, &cmd, &filenames)?;
}
Message::Stdout(out) => {
self.progress.clear();
println!("{}", out);
}
Message::Stderr(err) => {
Expand Down

0 comments on commit 4e74e2f

Please sign in to comment.