about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-12-29 17:26:34 -0800
committerGitHub <noreply@github.com>2016-12-29 17:26:34 -0800
commit3f65c5d103213e8599100647087e2f972141bbb6 (patch)
tree6d710d18ea67cc0d83d1925ee6d83793be018b73 /src/test/incremental/thinlto
parent7d14e3a1e6f3afa1a539f169f82c2cfd5f704b92 (diff)
parent1825f80fab649f0a5647239c58bcfbc58f378947 (diff)
downloadrust-3f65c5d103213e8599100647087e2f972141bbb6.tar.gz
rust-3f65c5d103213e8599100647087e2f972141bbb6.zip
Rollup merge of #38660 - martijnvermaat:terminfo-reset-typo, r=alexcrichton
Fix default terminfo code for reset (sg0 -> sgr0)

Resetting the terminal should first try `sgr0` (as per the comment), not
`sg0` which I believe to be a typo.

This will at least fix rustc output in Emacs terminals (e.g., ansi-term)
with `TERM=eterm-color` which does not provide the next fallback `sgr`. In
such a terminal, the final fallback `op` (`\e[39;49`) is used  which
resets only colors, not all attributes. This causes all text to be
printed in bold from the first string printed in bold by rustc onwards,
including the terminal prompt and the output from all following commands.

The typo seems to have been introduced by #29999
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions