From: bors Date: Tue, 19 Dec 2017 00:41:01 +0000 (+0000) Subject: Auto merge of #4832 - andreastt:dumb_terminal_progress, r=alexcrichton X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~4^2~16 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=576ac63f5a919abe83d1c1f8008c54a20f8ee054;p=cargo.git Auto merge of #4832 - andreastt:dumb_terminal_progress, r=alexcrichton util/progress: no progress reporting in dumb terminals cargo should not assume that all terminals have direct access to the terminal. Dumb terminals are those that can interpret only a limited number of control codes (CR, LF, &c.) and the escape codes used by the progress bar breaks output in these by asserting control over the cursor position to draw a bar. A dumb terminal is identified by the TERM output variable being set to "dumb". This adds a direct check for this in src/cargo/util/progress.rs because TERM=dumb does not imply the same as the -q flag. --- 576ac63f5a919abe83d1c1f8008c54a20f8ee054